Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-161

Incorrect parse of double quotes in DEFINE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 3.0.x
    • Styles
    • None
    • PHP Environment:
      Database:

      Double quotes are incorrectly parsed in <!-- DEFINE -->. For example,

      <!-- DEFINE $BLAH = '<a href="blah">blah</a>' -->

      is compiled into this:

      $this->_tpldata['DEFINE']['.']['BLAH'] = '<a href=\"blah\">blah</a>';

      with double quotes escaped, so when I use {$BLAH} in template html output is this:

      <a href=\"blah\">blah</a>

            DavidMJ DavidMJ
            cyberalien cyberalien
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: