[
https://issues.apache.org/jira/browse/WICKET-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jasphior updated WICKET-4099:
-----------------------------
Description:
The SmartLinkLabel works as expected for the texts without <a>..</a> tag.
for text like
extensions @ http://www.wicketframework.org/wicket-extensions/index.html are
cool!!
SmartLinkLabel generates the html -
extensions @ <a
href="http://www.wicketframework.org/wicket-extensions/index.html">http://www.wicketframework.org/wicket-extensions/index.html</a>
are cool!!
but for the text like
extensions @ <a
href='http://www.wicketframework.org/wicket-extensions/index.html'>http://www.wicketframework.org/wicket-extensions/index.html</a>
are cool!!
SmartLinkLabel generates the html -
extensions @ <a href='<a
href="http://www.wicketframework.org/wicket-extensions/index.html">http://www.wicketframework.org/wicket-extensions/index.html</a>'><a
href="http://www.wicketframework.org/wicket-extensions/index.html">http://www.wicketframework.org/wicket-extensions/index.html</a></a>
are cool!!
I think this is a bug & needs a fix.
was:
The SmartLinkLabel works the texts without <a> tag.
for text like
extensions @ http://www.wicketframework.org/wicket-extensions/index.html are
cool!!
SmartLinkLabel generates the html -
extensions @ <a
href="http://www.wicketframework.org/wicket-extensions/index.html">http://www.wicketframework.org/wicket-extensions/index.html</a>
are cool!!
but for the text like
extensions @ <a
href='http://www.wicketframework.org/wicket-extensions/index.html'>http://www.wicketframework.org/wicket-extensions/index.html</a>
are cool!!
SmartLinkLabel generates the html -
extensions @ <a href='<a
href="http://www.wicketframework.org/wicket-extensions/index.html">http://www.wicketframework.org/wicket-extensions/index.html</a>'><a
href="http://www.wicketframework.org/wicket-extensions/index.html">http://www.wicketframework.org/wicket-extensions/index.html</a></a>
are cool!!
I think this is a bug & needs a fix.
> SmartLinkLabel doesn't recognize already tagged links
> -----------------------------------------------------
>
> Key: WICKET-4099
> URL: https://issues.apache.org/jira/browse/WICKET-4099
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5-RC5.1
> Environment: wicket 1.5-RC5.1, tomcat 7, windows 7
> Reporter: Jasphior
> Priority: Minor
> Labels: SmartLinkLabel
>
> The SmartLinkLabel works as expected for the texts without <a>..</a> tag.
> for text like
> extensions @ http://www.wicketframework.org/wicket-extensions/index.html are
> cool!!
> SmartLinkLabel generates the html -
> extensions @ <a
> href="http://www.wicketframework.org/wicket-extensions/index.html">http://www.wicketframework.org/wicket-extensions/index.html</a>
> are cool!!
> but for the text like
> extensions @ <a
> href='http://www.wicketframework.org/wicket-extensions/index.html'>http://www.wicketframework.org/wicket-extensions/index.html</a>
> are cool!!
> SmartLinkLabel generates the html -
> extensions @ <a href='<a
> href="http://www.wicketframework.org/wicket-extensions/index.html">http://www.wicketframework.org/wicket-extensions/index.html</a>'><a
>
> href="http://www.wicketframework.org/wicket-extensions/index.html">http://www.wicketframework.org/wicket-extensions/index.html</a></a>
> are cool!!
> I think this is a bug & needs a fix.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
