vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   html tags being replaced... (https://vborg.vbsupport.ru/showthread.php?t=188987)

mooreaa 08-24-2008 01:44 PM

html tags being replaced...
 
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:
Code:

<page>
gets replaced with
Code:

</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.


All times are GMT. The time now is 12:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01197 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete