1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug Strage problem with the template manager

Discussion in 'Resolved Bug Reports' started by imthebest, Aug 12, 2014.

  1. imthebest

    imthebest Formerly Super120

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

    edit1.png

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


    edit2.png

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

    changes.png

    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.
     
  2. Mike

    Mike XenForo Developer Staff Member

    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.
     
  3. Jeremy

    Jeremy XenForo Moderator Staff Member

    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.
     

Share This Page