lib/config/typogrowth.yaml in typogrowth-0.9.0 vs lib/config/typogrowth.yaml in typogrowth-0.9.1

- old
+ new

@@ -113,20 +113,30 @@ :us : - ' – ' :punctuation : :opening_orphan : - :re : '([(¿¡§#№]|\p{Sc})(?:\s)*' + :re : '([(¿¡§#№]|\p{Sc})(?:\s+)' :default : - '\1' :closing_orphan : - :re : '(?:\s)*([.,:;!?)])' + :re : '(?:\s+)([.,:;!?)])' :default : - '\1' :closing_clamped : :re : '([.,:;!?)])(?=\p{Lu})' :default : - '\1 ' :fixup : :re : '([!?.]+)(?:\s*)(\.+)' :default : - - '\1\2' \ No newline at end of file + - '\1\2' + +:orphans : + :dangling_right : + :re : '(?<=\s|\A)(\p{L})\s+' + :default : + - '\1 ' + :dangling_left : + :re : '\s+(p{Punct})(?=\s|\Z)' + :default : + - ' \1'