Skip to content

$LTS is coming out as literal '<' #1378

@Alex-Jordan

Description

@Alex-Jordan

In PGbasicmacros, $LTS is defined to output &lt; in HTML. Good.

And yet with the following MWE:

DOCUMENT();
loadMacros("PGstandard.pl");

BEGIN_TEXT
Write a vector like this: <a, b, c>
$BR
Write a vector like this: ${LTS}a,b,c${GTS}
END_TEXT

ENDDOCUMENT();

The places where $LTS and $GTS are used are coming out as literal < and >. The web browser then tries to parse the "tag" <a,b,c> and the user sees nothing there. So I think there is some translation step that is improperly converting &lt; to < before the rendered problem is sent out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions