Cookbook /
LiteralWhiteSpace-Talk
Summary: Talk page for LiteralWhiteSpace.
Maintainer:
This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.
diff whitespace.php whitespace.bak 27c27 < Markup('^ws', '<^img', '/^(\\s+)(.*?)/', "WSIndent2($m[1])"); --- > Markup('^ws', '<^img', '/^(\\s+)(.*?)/e', "WSIndent2('$1')"); 46c46 < Markup('spacing', '>style', "/(\\s{2,7})(?![^<]*>)/", "WSReplace($m[1])"); --- > Markup('spacing', '>style', "/(\\s{2,7})(?![^<]*>)/e", "WSReplace('$1')");
update: spoke too soon. Will have to revisit
(Ross Grady, Nov 8, 2015)
You probably don't need to quote $m[1], see the corrected lines of code. --Petko November 08, 2015, at 11:50 AM
Talk page for the LiteralWhiteSpace recipe (users).