Skip to content

MarkupText documentation: ul-tag should be changed to u-tag #3578

@dandavison

Description

@dandavison

Description of bug / unexpected behavior

This fails with ValueError: Unknown tag 'ul' on line 1 char 13

class MarkupExample(Scene):
    def construct(self):
        text = MarkupText("<ul>underlined</ul>")
        self.add(text)

Expected behavior

The docstring in the code indicates that it should produce underlined text:

- ``<ul>underline</ul>`` and ``<s>strike through</s>``

Note that this does work:

class MarkupExample(Scene):
    def construct(self):
        text = MarkupText('<span underline="single">underlined</span>')
        self.add(text)

System specifications

Manim Community v0.18.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomersissue:bugSomething isn't working... For use in issues

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions