Skip to content

Terminating characters \n and $ not working as expected. #28

@sjb-ch1mp

Description

@sjb-ch1mp

The former is caused by \n characters being trimmed after the script element is processed into statements. A possible solution could be to re-append the \n character, and remove it (or escape it) prior to printing to output.

The latter is caused by the way in which the strings are manipulated during tag extraction. As the loop searches for the string of least length that satisfies the regex, the last character is trimmed away and the end of the line, i.e. $, moves one character to the left. Unsure how to solve this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions