Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-1521

HTML heading hierarchy helper : ability to call the template with a negative parameter

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0RC1
    • 3.0 M5
    • Plugin : Web
    • None

      As for now it is not possible to call the helper with a negative parameter, to perform a reverse shift of the headings, because a negative parameter won't be cast automatically as a number.
      Here's a patch which fixes this, as well as preventing h0 or h7 to be outputted.

            Unassigned Unassigned
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: