Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tag parsing for numbers with line breaks #7

Open
tla opened this issue Nov 14, 2018 · 0 comments
Open

Fix tag parsing for numbers with line breaks #7

tla opened this issue Nov 14, 2018 · 0 comments

Comments

@tla
Copy link
Member

tla commented Nov 14, 2018

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]",
                 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant