2018-07-15 | Paul Boddie | raw files shortlog changelog graph | Fixed region serialisation when the type is None. | |
moinformat/serialisers/html.py (file) |
1.1 --- a/moinformat/serialisers/html.py Sun Jul 15 19:20:41 2018 +0200 1.2 +++ b/moinformat/serialisers/html.py Sun Jul 15 23:35:00 2018 +0200 1.3 @@ -29,7 +29,7 @@ 1.4 1.5 # NOTE: Need to support types in general. 1.6 1.7 - type = type.split()[0] 1.8 + type = type and type.split()[0] 1.9 1.10 if type == "inline": 1.11 return "tt"