lib/pretty_strings.rb in pretty_strings-0.6.0 vs lib/pretty_strings.rb in pretty_strings-0.7.0
- old
+ new
@@ -59,9 +59,10 @@
remove_twb_tags_post(
remove_twb_tags_pre(text)))))
end
def remove_twb_tags_post(text)
+ text.gsub!(/({\\b )([^{}}]*)(}\\line)/, '\2') || text
text.gsub!(/({\\\S+ )([^{}}]*)(})/, '\2') || text
text.gsub!('\sectd\\linex0\\headery708\\footery708\\colsx708\\endnhere\\sectlinegrid360\\sectdefaultcl\\sftnbj ', '') || text
end
def remove_twb_tags_pre(text)