You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
239 B
12 lines
239 B
from panflute import Space,SoftBreak
|
|
from typing import Union
|
|
|
|
Whitespace = Union[Space,SoftBreak]
|
|
|
|
class NBSP(Space):
|
|
pass
|
|
|
|
def bavlna(e: Whitespace):
|
|
"""Determine if given piece of whitespace should be non-breakable."""
|
|
return False
|
|
|
|
|