The button on the toolbar whilst making a thread has the url button .... it works perfectly if we click it, enter/donot enter a url.
But if we have already typed the text, we select it and then click the button then it doesnt wrap the selected text in the link.
Test Examples Below
Normal Urls:
Google
Without any text:
http://www.google.com
The Problem (Different Texts Entered):
WwW.Google.ComGoogleundefined
In the last example, I first typed the text "Google", then selected it and then did the normal procedure of adding the link ... only i entered "WwW.Google.Com" for the text which it should show
The Problem (Same Text Entered; May Be Confusing ):
GoogleGoogleundefined
The same problem as above.
Can this be fixed cause it should work right ? Cause it works on wysiwyg
and for the bold, italic and underline tags too
No parsing the above test samples, incase someone needs it .... its quicker than quoting me
(more lazy too
)
[i]Normal Urls:[/i]
[url=http://www.google.com]Google[/url]
[i]Without any text:[/i]
[url]http://www.google.com[/url]
[i]The Problem (Different Texts Entered):[/i]
[url=http://www.google.com]WwW.Google.Com[/url]Googleundefined
In the last example, I first typed the text "Google", then selected it and then did the normal procedure of adding the link ... only i entered "WwW.Google.Com" for the text which it should show
[i]The Problem (Same Text Entered; May Be Confusing :P):[/i]
[url=http://www.google.com]Google[/url]Googleundefined
The same problem as above.
Note: Dont even think about posting here to test this out .... it just leads to spam and ignorance of the problem.