Notice: This project is marked as stale. This means that it may work fine, but it
has no file releases or repository commits in over a year. Use your own
discretion when using this project.
PRoot
A Smarty Modifier Plugin that will check to see if the string is wrapped intags. If not, it adds the tags. It will also replace br tags with
and strip white space and multiple line returns. Example: {$string|proot} will wrap the string in
tags if they do not exist. You can specify the root element with the optional parameter. Example: {$string|proot:"div"} will use div instead of p tags. Could be used to display php code for example: Example: {$string|proot:"pre"} will wrap in
tags.