[pLog-svn] wordwrap is broken

Jon Daley plogworld at jon.limedaley.com
Wed Aug 2 14:29:18 GMT 2006


 	See the compile error, but also the wrap field is set incorrectly, in 
my opinion.  This is on:
http://jon.limedaley.com/plog/admin.php?op=editComments&articleId=599

I guess you are trying to trim long urls so you have $break set to true.
I would rather see most people's posts works well.

Exception message: preg_replace(): Compilation failed: regular expression too 
large at offset 0
Error code: 2
-- Backtrace --
/home/jondaley/www/plog/class/template/smarty/plugins/modifier.utf8_wordwrap.php(39): 
preg_replace
/home/jondaley/www/plog/class/template/smarty/plugins/modifier.utf8_wordwrap.php(26): 
utf8_wordwrap
/home/jondaley/www/plog/tmp/1/%%94^940^94065460%%editcomments.template.php(121): 
smarty_modifier_utf8_wordwrap
/home/jondaley/www/plog/class/template/smarty/Smarty.class.php(1265): include
/home/jondaley/www/plog/class/template/template.class.php(130): smarty.fetch
/home/jondaley/www/plog/class/view/admin/admintemplatedview.class.php(43): 
template.fetch
/home/jondaley/www/plog/class/view/admin/adminarticlecommentslistview.class.php(135): 
admintemplatedview.render
/home/jondaley/www/plog/class/controller/controller.class.php(330): 
adminarticlecommentslistview.render
/home/jondaley/www/plog/admin.php(43): admincontroller.process
Well, that was sort of fun. I sele
cted a dozen characteristics before
narrowing them down to six. Altho
ugh Peter and I had no intersection
s at all, I could easily have picke
d what he did, plus more. So much
depends on context. I certainly co
uld have said "intelligent" but cho
se the more-inclusive "able." And
though I chose "tense" because I se
e that aspect of your personality a
nd think it's important (as is the
fact that you fight it), I could al
so have picked "relaxed" because yo
u are more relaxed in your reacti
ons than most people. As you can g



More information about the pLog-svn mailing list