I tried to create a link to:
http://blog.flickr.com/flickrblog/2005/ ... ally_.html
and it saves in the database correctly, but on display it appears as:
http://blog.flickr.com/flickrblog/2005/ ... y<u/>.html
where the last underline is converted to a <u/>.
Any way around this?
-Chris
Underline in URL converted to <u/>
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Underline in URL converted to <u/>
Are you sure it converts to '<u/>'? That is a completely invalid thing. Maybe you mean '</u>'? Can you give us the URL to your blog entry with that?
Tell me which s9y version you're using and which Markup Event Plugins you got installed.
Regards,
Garvin
Tell me which s9y version you're using and which Markup Event Plugins you got installed.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
chrisbruzzi.com
-
Scytale
The problem appeared over here as well. Looks like it's the BBCode plugin, which has some serious bugs in the 0.8 release version:
Also, the RegEx parsing the URL tags will not match anymore for URLs containing characters like "~", "?" or "!". This is the most serious one, since it lets ugly [url =blah]Text[/url] appear in one's posts (in the archives as well, of course)...
(That space after "url" was intentional to keep phpBB from linking.)
Code: Select all
[url=http://kqe.de/]Ihre Hoheit[/url]
got converted to
<a href="http://kqe.de/" target="<u>blank" class="bb-url">Ihre Hoheit</a>(That space after "url" was intentional to keep phpBB from linking.)
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
There were serious XSS injections in the old BBCode plugin so we had to cut it down a lot.
Thanks to your input, I could add the '~' and '!' characters to be allowed in URLs. But it'S better to show \[url] output instead of allowing BBCode, right?
Your URL BTW only got faulty converted because of your "S9y Markup" plugin. Move that plugin before the BBCode plugin, then it should be alright. The s9y markup identifies words with "_" in front of it to be marked as underlined.
Regards,
Garvin
Thanks to your input, I could add the '~' and '!' characters to be allowed in URLs. But it'S better to show \[url] output instead of allowing BBCode, right?
Your URL BTW only got faulty converted because of your "S9y Markup" plugin. Move that plugin before the BBCode plugin, then it should be alright. The s9y markup identifies words with "_" in front of it to be marked as underlined.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Concerning the BBCode problems, have a look at Getting rid of NL2BR and broken BBCode.