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.
13 lines
239 B
13 lines
239 B
2 years ago
|
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
|
||
|
|