View Full Version : html tags being replaced...
mooreaa
08-24-2008, 01:44 PM
Hello I am running into a problem where my html tags in my forums are being replaced when the post gets edited...
In my post I add xml tags which are later parsed out... unfortunately when I go to edit the post, the tags get all messed up... for example my tag: <page> gets replaced with </p> tags and my closing tag for the above gets completely destoryed...
My forum options are set to allow html... what am i missing?
Lynne
08-24-2008, 02:52 PM
I don't know that allowed html tags means to also allow xml tags which is probably why they are getting replaced.
mooreaa
08-24-2008, 10:16 PM
hmm is there a list of allowed tags that I can edit?
Lynne
08-24-2008, 10:52 PM
I'm not sure what you mean by "allowed tags that you can edit". Edit when? Or do you mean allowed tags that you can use? Standard html tags are allowed.
mooreaa
08-25-2008, 01:20 AM
The problem is only during editing so I don't understand.
When it loads the message up into the editor... it changes it... but after I fix it up, and submit it, its fine... so.... somewhere when the message is being loaded into the editor its getting modified.
Lynne
08-25-2008, 01:34 AM
Are you sure it's fine and that it isn't replacing it in the database? You may want to look in the database to be sure.
However, I am thinking that this question may get a better answer from the developers over at vb.com cuz I really don't know the right answer to this.
mooreaa
08-25-2008, 03:52 AM
Thanks I will check there... I disabled the WYSIWYG editor and the issue went away so its definatly a bug with the editor.
Marco van Herwaarden
08-25-2008, 07:06 AM
You should not use the HTML-tag to post XML-source. Use the code-tag instead.
mooreaa
08-25-2008, 11:43 PM
No i'm marking up a post to be parsed by an external script... its not to post the xml or anything visible to the viewer.
Marco van Herwaarden
08-26-2008, 07:37 AM
Soyou don't want to parse it all? If that is the case try using the noparse-tag.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.