[wp-trac] [WordPress Trac] #26975: TinyMCE adding inline line-height styles and spans

WordPress Trac noreply at wordpress.org
Sun Feb 9 15:48:24 UTC 2014


#26975: TinyMCE adding inline line-height styles and spans
--------------------------+------------------------------
 Reporter:  lumpysimon    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:  3.8.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Mr. Z):

 Correction. Adding '''em''' after '''line-height: 1.5''' in line 77 solves
 the problem:

 {{{
 'post_content' => str_replace( ' style="line-height: 1.5em;"', '',
 $post->post_content )
 }}}

 Great plugin. Thanks!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26975#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list