Announcement

Collapse
No announcement yet.

htmltidy - can I get element end tag on new line

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • htmltidy - can I get element end tag on new line

    because I want to ignore one specific attribute (R5Key), but the element end tag is appearing on a newline so its flagged as a difference, eg
    <option name="View" type="VBForm"
    R5Key="Construct\Client Data View">
    vs
    <option name="View" type="VBForm">

    any ideas?

  • #2
    Re: htmltidy - can I get element end tag on new li

    There isn't a way for BC to compare across a newline.

    I don't know if there is a way to tweak HTMLTidy to make it place the tags so they have the same line breaks. If you can send a pair of example files to [email protected] I'll take a look.

    If that isn't possible, you might be able to mark the entire tag as delimited unimportant text.
    Chris K Scooter Software

    Comment

    Working...
    X