[wp-trac] [WordPress Trac] #4608: HTML and Javascript Formatting

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 11 11:06:10 GMT 2007


#4608: HTML and Javascript Formatting
----------------------------+-----------------------------------------------
 Reporter:  nawingee        |       Owner:  anonymous
     Type:  enhancement     |      Status:  new      
 Priority:  high            |   Milestone:           
Component:  Administration  |     Version:           
 Severity:  major           |    Keywords:           
----------------------------+-----------------------------------------------
 Hi,
 I am new to the world of wordpress. I am using wordpress-mu 1.2.1 version
 installed. Below is the difficulty i face.

 ” I had issues posting HTML(source includes javascript)into wordpress.
 Wordpress wants to format the html after we post an article. Even if we
 only use the “Code” tab(enableing Rich Text Editor), the wordpress system
 will try to format what was pasted in. Here are some examples of the
 formatting:
 formats out javascript tags
 adds <br/> after each carriage return
 changes — to –

 Please look into creating a plugin that will bypass *all* the formatting
 when we post an article through the Code tab.”

 We tried with Text control Plugin http://dev.wp-
 plugins.org/wiki/TextControl (which allows javascript inside posts). But
 when i tried, the <script> tag still gets removed and the page looks
 altered. Also i tried with Text Control option "MarkDown".  at it throwed
 the error "Warning: preg_replace_callback() [function.preg-replace-
 callback]: Unknown modifier '|'".

 Please Suggest if Text control plugin solves this need and if not Please
 suggest some sollution for it. It's highly important for me.

 Thanks

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4608>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list