Hi,
Oh ok, I will correct my patch.
> > I had to move some ereg_replace code around, hope I didn't break something else.
>
> We need to extend SSViewerTest test coverage to ensure this - would
> you be willing to contribute here?
Yes, I have to familiarize myself with the testing framework (I'm a
python programmer most of the time).
> We'd like to see:
> * PHPDoc class/method documentation
> * Inline documentation for tricky stuff like added regexes
> * Unit test coverage simulating nested templates with i18n (seehttp://
doc.silverstripe.com/doku.php?id=testing-guide)
Ok.
> I think we're ready to help out with getting this patch to release
> quality, but first have to ensure its the right direction.
Yes, that was my question, too :-)
> Sam is our SSViewer guru, perhaps he can review whats already there?
That would be nice :-) I need an answer to the i18n::include_by_class
question.
> Did you check your patch against the warnings and notes which Sam put
> in the ticket?
I didn't change the logic like Sam describes in the ticket (inlining
parseTemplateContent instead of getTemplateContent). I tried that but
had some serious context trouble.
BTW: Is there any development going on the rewrite of SSViewer?
Cheers,
Andy