# HG changeset patch # User Paul Boddie # Date 1531690500 -7200 # Node ID b2286a14df23cd9943bcb568725e1a9885f850e4 # Parent 285d1e37c8ad33aa2cca1dd1f1ac8f3d028b42fa Fixed region serialisation when the type is None. diff -r 285d1e37c8ad -r b2286a14df23 moinformat/serialisers/html.py --- a/moinformat/serialisers/html.py Sun Jul 15 19:20:41 2018 +0200 +++ b/moinformat/serialisers/html.py Sun Jul 15 23:35:00 2018 +0200 @@ -29,7 +29,7 @@ # NOTE: Need to support types in general. - type = type.split()[0] + type = type and type.split()[0] if type == "inline": return "tt"