Not a bug Strage problem with the template manager

imthebest

Well-known member
On a stock 1.4.0 Beta 2 template I edit account_wrapper to remove the Privacy link:

edit1.webp

After removing that code snippet I'm ready to save the changes:


edit2.webp

Now after saving the template I'm going to check the changes I made just to be sure:

changes.webp

As you can see, the template manager is reporting that I deleted:

Code:
class="{xen:if "{$selectedKey} == 'account/privacy'", 'secondaryContent', 'primaryContent'}"
href="{xen:link account/privacy}">{xen:phrase privacy}</a></li>
<li><a

When in fact what I deleted was:

Code:
<li><a
class="{xen:if "{$selectedKey} == 'account/privacy'", 'secondaryContent', 'primaryContent'}"
href="{xen:link account/privacy}">{xen:phrase privacy}</a></li>

For practical purposes it's the same however I don't understand why it's reporting incorrectly the changes I made.
 
It's a comparison between your version and the original version. As you noted, both are the same so there's no way to know what change you made.
 
Standard comparison tools consider it to be the same until it notices something different and reports it. For all intents and purposes, it is identical until the point it starts marking it as removed.
 
Back
Top Bottom