Recent Topics

1 Feb 05, 2011 13:19    

When inserting a usual HTML link into a post (in direct HTML edition mode), for instance


<a href="http://www.ietf.org">Internet Engineering Task Force</a>


b2evolution 3.3.1 generates an HTML document with a properly structured link.

However, each time I insert a link such as:


<a href="http://www.ietf.org">www.ietf.org</a>


the system is confused and parses that portion of the document incorrectly. In particular, it seems to view www.ietf.org bracketed by <a>...</a> tags as another url, and attempts to insert yet another <a href=...> to deal with it. The result is messy.

The only way around this is to replace every text starting with "www" within the <a>...</a> tags with character references (i.e. substitute w by & #119;)

2 Feb 05, 2011 15:51

Uncheck the Auto Links Renderer for that particular post (must be in expert mode). Or change the rendering of the Auto Links plugin to be "opt-in" instead of "opt-out." Or uninstall/disable the Auto Links plugin entirely.

3 Feb 05, 2011 20:00

I'd call it a bug. No idea if this is fixed in 4.x but, it'd make more sense if the autolinks plugin excluded urls that are already part of an <a></a> tag.

¥

4 Feb 11, 2011 12:13

The auto-links plugin should make the www.ietf.org a link anyway so all you need to do in this case is have

www.ietf.org

on its own and the auto-links plugin will do the rest (unless you wanted to add other attributes to the link).

Definitely a bug in the auto-links plugin but you could just ditch the html parts and let it do its thing

L

5 Feb 11, 2011 14:07

I believe that has been fixed in either v3.3.2 or v3.3.3


Form is loading...