Skip to content

Fix tag parsing for numbers with line breaks #7

@tla

Description

@tla

e.g. the following (M3519 p. 192r l. 16–17)

յամին  <num value="401">.ն՟. 
և .ա՟</num>ին. եղև

currently becomes

                {
                    "n": "401ին",
                    "t": ".ն՟. և .ա՟ին",
                    "lit": ".ն՟. և .ա՟ին",
                    "context": "text/body/p[4]/num[1]",
                 }

when it should be

                {
                    "n": "401ին",
                    "t": ".ն՟. և .ա՟ին",
                    "lit": "<num value=\"401\">.ն՟. <lb [...]/>և .ա՟</num>ին",
                    "context": "text/body/p[4]",
                 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions