From: Jason Woofenden ~foo htmlbr~ ~foo htmlbrtab~ ~data html~
+# Encode for output in html. Convert newlines to
#
# Example:
\n", $str);
+ $str = str_replace("\n", "
\n", $str);
return $str;
}
# Encode for output in html. Preserves newlines and indentation by converting
-# newlines to
and spaces at the begining of lines to
+# newlines to
and spaces at the begining of lines to
#
# Example:
+# Encode for output in html. Spaces converted to and \n to
#
# Example:
function enc_htmlbrnbsp($str) {
diff --git a/examples/404.html b/examples/404.html
index 7cb09e5..2802848 100644
--- a/examples/404.html
+++ b/examples/404.html
@@ -1,6 +1,6 @@
-
+
-
+
+#
#
#
#
diff --git a/metaform/main.html b/metaform/main.html
index f698d14..f15b49e 100644
--- a/metaform/main.html
+++ b/metaform/main.html
@@ -1,6 +1,6 @@
-
+
-
+
Fields:
- + diff --git a/metaform/preview.html b/metaform/preview.html index 7137fee..b88d454 100644 --- a/metaform/preview.html +++ b/metaform/preview.html @@ -1,9 +1,9 @@ - + - +