Skip to content

[Bug]: % in alternative text causes fail to render #414

@Schiano-NOAA

Description

@Schiano-NOAA

Describe the bug

When an alternative text contains a % sign, this is the latex indicator for a comment so it ends the line then causes render to fail

We should be able to fix this by adding a check when the alt text is added. If the alt text contains a % then we can add a slash to ignore this as a comment.

We need to test this out when quarto releases their next version with accessibility features

Describe how to reproduce the bug

Have an alt text contain a % sign then run add_alttext and render

Screenshots

No response

Which OS are you seeing the problem on?

No response

Which version of asar are you seeing the problem on?

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage_neededThis issue needs review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions