Is there a way to sort HTML attributes when comparing things in BeyondCompare?
So for example the following should be considered equivalent:
<div class="btn" id="someId">
vs
<div id="someId" class="btn">
Beyond Compare doesn't provide a method to sort HTML attributes.
If you can find a command line application to sort HTML attributes, you can use a Beyond Compare file format to run it as a preprocessor before comparison.
To define a file format that runs an external app before comparison:
The highest format in the list with matching file mask is used when comparing pairs of files in Beyond Compare or running rules-based comparison in the Folder Compare.