macmillanpublishers / Word-template

Macmillan's styles and template
ISC License
4 stars 4 forks source link

cleanup macro hyphen always closed #158

Open ericawarren opened 8 years ago

ericawarren commented 8 years ago

even when it shouldn't!

example: "pre- and post-industrial"

ericawarren commented 8 years ago

to start, could add hyphen + space to span preserve characters (pre) checks in the cleanup macro.

ericawarren commented 8 years ago

With #164 can tag with span preserve characters (pre) so it's no longer urgent, but we should find a way to avoid doing this in the first place. Look into the weird Word version of regex, which is also implemented via the PatternMatch function in the SharedMacros module.