diff options
Diffstat (limited to 'pith/filter.c')
-rw-r--r-- | pith/filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pith/filter.c b/pith/filter.c index 0c2f525..8e7c92e 100644 --- a/pith/filter.c +++ b/pith/filter.c @@ -5028,6 +5028,8 @@ html_a(HANDLER_S *hd, int ch, int cmd) * we were giving some "base" string, proceed ala RFC1808... */ if(href){ + if(href->value) + removing_leading_and_trailing_white_space(href->value); if(HTML_BASE(hd->html_data) && !rfc1738_scan(href->value, &n)){ html_a_relative(HTML_BASE(hd->html_data), href->value, h); } |