W dniu 30.09.2010 19:37, Kornel Lesiński pisze:
On 30 Sep 2010, at 18:28, Piotr Kroczyński wrote:
Ok thank you for reply. I have just one more question. In which revision is
that diry quick fix that you wrote earlier to make PHPTAL write doctype after
clone? I just added this to svn:exter
On 30 Sep 2010, at 18:28, Piotr Kroczyński wrote:
> Ok thank you for reply. I have just one more question. In which revision is
> that diry quick fix that you wrote earlier to make PHPTAL write doctype after
> clone? I just added this to svn:externals in place of 1.2.1:
r993
> phptal -r 939 h
Ok thank you for reply. I have just one more question. In which revision
is that diry quick fix that you wrote earlier to make PHPTAL write
doctype after clone? I just added this to svn:externals in place of 1.2.1:
phptal -r 939 https://svn.motion-twin.com/phptal/trunk/classes/ to svn
externa
> So when using HTML5 mode in PHPTAL I need to wrap all values in quotes but in
> output I get them without quotes. Isn't it additional work for parser to
> remove quotes even when they are permitted in HTML5?
PHPTAL has HTML5 *output* mode. Input is always XML (I haven't gotten around to
writ
W dniu 30.09.2010 10:43, Kornel Lesiński pisze:
On 29-09-2010 at 21:28:52 Piotr Kroczyński
wrote:
They say that values with space or special chars must be quotes
around. They don't say that quotes should be ommited everywhere else.
Just mine interpretation :)
Can you send me test case wher
On 29-09-2010 at 21:28:52 Piotr Kroczyński
wrote:
They say that values with space or special chars must be quotes around.
They don't say that quotes should be ommited everywhere else. Just mine
interpretation :)
Can you send me test case where PHPTAL omits quotes when it shouldn't?
--
r
W dniu 29.09.2010 11:53, Kornel Lesiński pisze:
Thanks for the test case — it was very helpful.
Short story: it's a bug.
Ok thanks for info. Until it's fixed, I'll use this dirty fix :).
When I change output mode to HTML5, PHPTAL generates broken html (no quotes
around attributes values,
On 27 Sep 2010, at 22:22, Piotr Kroczyński wrote:
>
> After clone PHPTAL stripped doctype... Why ?
Thanks for the test case — it was very helpful.
Short story: it's a bug.
Long story:
PHPTAL stores template state in nested PHPTAL_Context objects (tal:define,
tal:repeat, macro calls, etc. crea
Hi,
I have four test files:
1.
=== chunk.html
This is chunk of html :)
== end of chunk.html =
2.
== layout.html =
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
Phptal test
= end of layout.html ==
3.
test.html =
Test