Menu

xhtml empty tag highlight

2007-04-26
2012-11-13
  • Nobody/Anonymous

    Hi, using ver. 4.0.2

    When editing xhtml files and doing for example;

    <link type="text/css" rel="stylesheet" href="main.css" />

    or

    <img src = "fgdfgf" />

    the " />" at the end of the tag is not highligted. I looked in the various configuration files but didn't find a way of defining the parameters for recognising the end of a tag. Now, when I switch the language over to XML the highlight works fine, but I would rather not have to do that for every xhtml file I open.

    Is there any way to fix this?

    Thankyou

     
    • MJG

      MJG - 2007-04-28

      I don't know if this will work, but in the Style Configurator dialog you could select XML in the Language list, and then add ".xhtml" (if that is the extension of the files you want to view as XML) to the "User ext:" text edit field.  After you save your changes, all .xhtml files should use XML syntax highlighting.    --Joel

       
MongoDB Logo MongoDB