[wp-trac] [WordPress Trac] #61540: WordPress html block breaks scripts.

WordPress Trac noreply at wordpress.org
Wed Jul 10 07:14:06 UTC 2024


#61540: WordPress html block breaks scripts.
--------------------------+------------------------------
 Reporter:  programmin    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.5.5
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by nataliat2004):

 @programmin you can try this


 {{{
 <script>
 jQuery(function($){
   if(vA!=win && vB!=win && vC==win && vD!=win)  console.log('else');
   if(`vA<500 && vB<500`) console.log('some other case');
 });
 </script>
 }}}

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


More information about the wp-trac mailing list