Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
metaform: added 'int' type, made preview more blatant, and ran the preview through...
[wfpl.git]
/
format.php
diff --git
a/format.php
b/format.php
index
60d0bf0
..
d5fb32b
100644
(file)
--- a/
format.php
+++ b/
format.php
@@
-22,6
+22,10
@@
# This file contains basic encodings
+function format_int($str) {
+ return ereg_replace('[^0-9]', '', $str);
+}
+
function format_oneline($str) {
$str = str_replace("\r", '', $str);
return str_replace("\n", '', $str);