[wp-trac] [WordPress Trac] #43534: Wonky element attributes after coding standards cleanup
WordPress Trac
noreply at wordpress.org
Mon Jan 14 23:47:07 UTC 2019
#43534: Wonky element attributes after coding standards cleanup
-------------------------------------+-------------------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.1
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: coding-standards
-------------------------------------+-------------------------------
Comment (by pento):
[attachment:"43534.2.diff"] fixes the first example in a coding standards
compliant way.
Most modern editors will recognise `HTML` being used as the heredoc
delimiter, and continue to syntax highlight the block of HTML correctly,
though the two I tested (VSCode and Sublime Text) get a little confused
over the `<html>` tag not being closed within the same heredoc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43534#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list