[wp-trac] Re: [WordPress Trac] #3946: TinyMCE converts strong & em
to b & i without checking full tag.
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 8 08:00:48 GMT 2007
#3946: TinyMCE converts strong & em to b & i without checking full tag.
-----------------------------+----------------------------------------------
Reporter: Linusmartensson | Owner: andy
Type: defect | Status: new
Priority: normal | Milestone: 2.4 (future)
Component: TinyMCE | Version: 2.1.2
Severity: normal | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by chmac):
Hey Linusmartensson,
Are you a Javascript / regex guru? I'm definitely not, so I'm not exactly
sure what would need to be changed. But it seems like a pretty simple
change, given my limited knowledge of regex (assuming of course it is a
regex!).
I think we'd need to check for a few possibilities:
+ Tag followed by whitespace
+ Tag followed by forwardslash less-than "/>"
+ Tag followed by less-than ">"
Are there any other possibilities?
This is a pretty significant problem. If you paste an EMBED tag into your
code view and then edit the post, it converts the tags and ruins your
lovely video!
Cheers - Callum.
--
Ticket URL: <http://trac.wordpress.org/ticket/3946#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list