Issue 190 in wolfcms: Page edit form breaks when title contains html attributes

4 views
Skip to first unread message

wol...@googlecode.com

unread,
Jun 21, 2010, 7:17:55 AM6/21/10
to wolfcms...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 190 by goo...@sebastian-joseph.de: Page edit form breaks when
title contains html attributes
http://code.google.com/p/wolfcms/issues/detail?id=190

What steps will reproduce the problem?
1. Allow HTML in titles
2. Insert for example '<abbr title="Content Management System">CMS</abbr>'
as page title
3. Save the page and revisit its edit form.

What is the expected output? What do you see instead?
The expected output is the full string but Wolf seems to forget to quote
the quote-signs, so the page will break.

What version of the product are you using? On what operating system?
Seems to be 0.5.5, but not sure.

wol...@googlecode.com

unread,
Jul 15, 2010, 6:31:08 PM7/15/10
to wolfcms...@googlegroups.com

Comment #1 on issue 190 by webmasterkubes: Page edit form breaks when title

Confirmed on 0.6.0.

I do question its usefulness:
what is the point of allowing HTML in the title anyway?
Its not valid to use HTML tags between the <title> tags, not according to
the (X)HTML specification anyway.
And for all other cases one should do:
<foo><?php $this->title(); ?></foo>

I think the option for allowing HTML in page titles should be removed.


wol...@googlecode.com

unread,
Jul 15, 2010, 6:45:54 PM7/15/10
to wolfcms...@googlegroups.com

Comment #2 on issue 190 by goo...@sebastian-joseph.de: Page edit form
breaks when title contains html attributes
http://code.google.com/p/wolfcms/issues/detail?id=190

It is useful if you want to make your page more user friendly. So if you
use e.g. CMS in the title, you could place an <abbr title="Content
Management System"></abbr> around it. For using in the document title, you
could then filter it with strip_tags. I use the title for display it as
first level headline and so it is a small help. Another possibility is that
you could place small icons in it or something like that. ;)

wol...@googlecode.com

unread,
Jan 3, 2011, 11:25:34 AM1/3/11
to wolfcms...@googlegroups.com
Updates:
Labels: -Security

Comment #4 on issue 190 by martijn....@gmail.com: Page edit form breaks

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages