Bavlna byla broken, protože se přejmenovalo jazykové metadatum a na bavlnu se zapomnělo.
This commit is contained in:
parent
18607b5c58
commit
0dcad55bb8
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ class NBSP(Space):
|
|||
# This function tries to determine if a space should be non-breaking. It is
|
||||
# language-aware and tries to be sort-of smart about its decisions.
|
||||
def bavlna(e: Whitespace, c: Context) -> bool:
|
||||
|
||||
if c.get_metadata("language") == "cs":
|
||||
|
||||
if c.get_metadata("lang") == "cs":
|
||||
# Add no-break space after single letter prepositions and conjunctions.
|
||||
# Also tries to find them inside elements, for instance
|
||||
# `V [odevzdávátku]()` should get correctly detected.
|
||||
|
|
Loading…
Reference in a new issue