phpBB3

Incorrect parse of double quotes in DEFINE

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Resolution: Fixed
  • Affects Version/s: 3.0.x
  • Fix Version/s: None
  • Component/s: Styles
  • Labels:
    None
  • Environment:
    PHP Environment:
    Database:

Description

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>

Activity

There are no comments yet on this issue.

People

  • Assignee:
    DavidMJ
    Reporter:
    CyberAlien
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: