I have the following for a markup tag.
I type in something like [c the blue dog]
when it's displayed on the page it's fine, it looks something like
Now I go back into the editor and just add something else to the message, not touching the [c the blue dog] (which actually looks like [<a href="http://gatherer.wizards.com/pages/card/details.aspx?name=the blue dog">the blue dog</a>] inside of the editor.
Now I confirm the message changes and view the message. It now shows
[<a href="http://gatherer.wizards.com/pages/card/details.aspx?name=the blue dog" target="_blank">the blue dog</a>]
I hope that all made sence, now can someone offer me an alternative to this, or a solution to make it stop doing this?
I've tried removing the markup tag named url() but then after someone edits a message with one of the above links in them, it just shows [url]the blue dog[/url] for every link that was on an edited message page. So I've apparently got to leave the url() markup tag in the system.
All I want is for the darn thing to take the users input as [c user input] and output it to [user input] and link the user input to open in a new window that is 800px wide by 900px tall AND not mess up if the person has to edit their message.
It really shouldn't be this difficult. But what is the answer.