#1 xhtml single tags coloring

v1.0 (example)
closed
nobody
None
5
2009-02-23
2008-11-06
No

Hi,

In hhtml single tags must have in the end a space and a slash as here : <br /> <input />

JUSH scrip incorrectly colors such tags: instead of highlighting entire tag in blue it highlights the slas and the right delimiter in green.

Discussion

  • Jakub Vrána

    Jakub Vrána - 2009-02-21

    Thanks for report, it is fixed in SVN.

     
  • Jakub Vrána

    Jakub Vrána - 2009-02-21
    • status: open --> closed
     
  • Laisvunas Sopauskas

    • status: closed --> open
     
  • Laisvunas Sopauskas

    Hi Jakub,

    Downloaded most recent CSS and JS files from SVN, but input, br, meta tags still are colored incorrectly, that is, as earlier, most current versions instead of highlighting entire tag in blue highlights the slash and the right delimiter in green.

     
  • Laisvunas Sopauskas

    Yet another comment.

    JUSH colors single tag's slash and right delimiter correctly (in blue) in case there are no whitespace character between tag name and slash, e.g. <br/>, <input/>.

    But in xhtml there should be whitespace character between tag name and slash: <br />, <input /> etc. In such cases JUSH script as in earlier revisions instead of highlighting entire tag in blue highlights the slash and the right delimiter in green.

     
  • kajmanus

    kajmanus - 2009-02-21

    Maeby helps change of ordering in tag state to
    tag: { php: php, att_css: /(\s+)(style)(\s*=\s*)/i, att_js: /(\s+)(on[^=<>\s]+)(\s*=\s*)/i, 1: /(\s*\/)?>/, att: /(\s+)([^=<>\s]*)(\s*)/ },

     
  • Laisvunas Sopauskas

    Hi, kajmanus,

    it seems that your suggestion solves the issue. Thanks!

     
  • Jakub Vrána

    Jakub Vrána - 2009-02-23
    • status: open --> closed
     
  • Jakub Vrána

    Jakub Vrána - 2009-02-23

    Thanks again, fixed in SVN.