diff options
Diffstat (limited to 'WebCore/wml/WMLAElement.cpp')
-rw-r--r-- | WebCore/wml/WMLAElement.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/wml/WMLAElement.cpp b/WebCore/wml/WMLAElement.cpp index c60db5e..00067fe 100644 --- a/WebCore/wml/WMLAElement.cpp +++ b/WebCore/wml/WMLAElement.cpp @@ -37,6 +37,7 @@ #include "FrameLoader.h" #include "HTMLAnchorElement.h" #include "HTMLNames.h" +#include "HTMLParserIdioms.h" #include "KeyboardEvent.h" #include "MouseEvent.h" #include "RenderBox.h" @@ -128,7 +129,7 @@ void WMLAElement::defaultEventHandler(Event* event) } if (isLinkClick(event)) { - handleLinkClick(event, document(), deprecatedParseURL(getAttribute(HTMLNames::hrefAttr)), target(), event); + handleLinkClick(event, document(), stripLeadingAndTrailingHTMLSpaces(getAttribute(HTMLNames::hrefAttr)), target(), event); return; } } |