escapedTagEndParser function

Parser<String> escapedTagEndParser(
  1. String tagEnd
)

Replaces an escaped Tag end (e.g. : }} ) to a String e.g. containing: }} (without escape) so that it is not parsed as a Tag or Variable

Implementation

Parser<String> escapedTagEndParser(String tagEnd) =>
    string('\\$tagEnd').map((value) => tagEnd);