[wp-meta] [Making WordPress.org] #3743: On Make WP blog the 'Follow' action removes syntax highlighting on code snippets

Making WordPress.org noreply at wordpress.org
Tue Mar 24 05:48:43 UTC 2020


#3743: On Make WP blog the 'Follow' action removes syntax highlighting on code
snippets
--------------------------------------+---------------------
 Reporter:  garrett-eclipse           |       Owner:  (none)
     Type:  defect                    |      Status:  new
 Priority:  normal                    |   Milestone:
Component:  Make (Get Involved) / P2  |  Resolution:
 Keywords:  has-screenshots close     |
--------------------------------------+---------------------
Changes (by dd32):

 * keywords:  has-screenshots => has-screenshots close


Comment:

 This occurs due to how O2 works - it tends to remove/replace large parts
 of the HTML with the same HTML, unfortunately the Syntax highlighting
 plugin needs to be executed upon each refresh of the content.

 This is either a bug in [https://github.com/Automattic/o2 O2], or
 [https://github.com/Automattic/syntaxhighlighter Syntax Highlighter] and
 not going to be fixed via Meta Trac. It looks like it's probably an O2
 thing, as O2 references SyntaxHighlighter but not the other way around..
 but maybe Syntax highlighter should be listening to a O2 JS hook..

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3743#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list