Skip to content

Latte: implement better detection of HTML tags in HtmlNode #1361

Description

@dg

To aviod these workarounds:

preg_match('#(^.*?>)(.*)(<.*\z)#s', $node->content, $parts);

&& preg_match('#^.*? n:\w+>\n?#s', $node->content, $m1) && preg_match('#[ \t]*<[^<]+\z#s', $node->content, $m2)

See http://forum.nette.org/en/1327-nette-2-1-0-stable-issue-with-form-n-name-macro-and-other-macros-in-html-attributes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions