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

Morocco: Infobox parsed wrong #59

Open
zverok opened this issue Jan 4, 2016 · 0 comments
Open

Morocco: Infobox parsed wrong #59

zverok opened this issue Jan 4, 2016 · 0 comments
Milestone

Comments

@zverok
Copy link
Contributor

zverok commented Jan 4, 2016

At this point in Morocco's infobox:

|national_motto =
   <div style="padding-top:0.2em;padding-bottom:0.5em;">{{native phrase|ar|{{lower|0.1em|{{big|الله، الوطن، الملك&nbsp;}}}}|italics=off|nolink=on}}<br/>''{{transl|ar|Allah, Al Watan, Al Malik}}''</div>''{{native phrase|ber|ⴰⴽⵓⵛ, ⴰⵎⵓⵔ, ⴰⴳⵍⵍⵉⴷ}}''</div>
   <br/>{{small|"God, Homeland, King"}}

Everything is screwed up this way:

  • at second line, parser thinks "this is a beginning of pre";
  • ...it parses pre until ...nolink=on}} which is thought to be the end of entire infobox (because markup is not parsed inside pre, but template ending is awaited for;

In fact,

  • pre is ok (though real Infobox doesn't render it as a pre);
  • ALL the markup should be parsed on those pre (just try it in sandbox)!
@zverok zverok modified the milestone: 0.3.0 Jan 4, 2016
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