Is there anyway to have phpWiki convert newlines to <br>?
IMHO, we shouldn't have to enter %%% after every line -- if I wanted the text to stay on the same line, I'd leave it on the same line in the edit window.
Isn't the whole point to simplify the process instead of forcing users to use unnecessary markup?
I searched through the code and found a regex pattern that handles the %%% but couldn't figure out how to nl2br() it...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A) Finishing-plugin that parses edit text and converts new lines to <br> at the end.
B) Plugin/function that runs at the commit of an edit that auto-adds %%% where newlines are. Such a plugin would probably add a new check box to the edit page that would allow the old behavior.
How many of you folks need/desire this feature?
-Elec
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there anyway to have phpWiki convert newlines to <br>?
IMHO, we shouldn't have to enter %%% after every line -- if I wanted the text to stay on the same line, I'd leave it on the same line in the edit window.
Isn't the whole point to simplify the process instead of forcing users to use unnecessary markup?
I searched through the code and found a regex pattern that handles the %%% but couldn't figure out how to nl2br() it...
here here!
This is just fscking stupid.
In fact stoopid enough to make me want to ditch phpwiki. Leave it for the windowz users...
Ignoring the flames...
There are several ways to implement this:
A) Finishing-plugin that parses edit text and converts new lines to <br> at the end.
B) Plugin/function that runs at the commit of an edit that auto-adds %%% where newlines are. Such a plugin would probably add a new check box to the edit page that would allow the old behavior.
How many of you folks need/desire this feature?
-Elec