#766 open
Betelgeuse

Hobo generates class names for cards that are not allowed by CSS 2.1

Reported by Betelgeuse | July 26th, 2010 @ 01:16 PM | in Hobo 1.4

http://www.w3.org/TR/CSS21/syndata.html#characters

In CSS, identifiers (including element names, classes, and IDs in selectors) can contain only the characters [a-zA-Z0-9] and ISO 10646 characters U+00A1 and higher, plus the hyphen (-) and the underscore (_); they cannot start with a digit, or a hyphen followed by a digit. Identifiers can also contain escaped characters and any ISO 10646 character as a numeric code (see next item). For instance, the identifier "B&W?" may be written as "B&W\?" or "B\26 W\3F".

Hobo generates stuff like:

  <ul class="collection things">
    <li class="odd model::thing:14 item">

Comments and changes to this ticket

  • Betelgeuse

    Betelgeuse July 26th, 2010 @ 01:26 PM

    The reason using colons is problematic is that CSS selector syntax users colons so they can't be matched easily.

  • Betelgeuse

    Betelgeuse September 12th, 2010 @ 08:02 AM

    • Title changed from “Hobo generates class names for cards that are allowed by CSS 2.1” to “Hobo generates class names for cards that are not allowed by CSS 2.1”
  • Matt Jones

    Matt Jones September 15th, 2011 @ 06:33 PM

    • State changed from “new” to “open”
    • Milestone set to Hobo 1.4
    • Milestone order changed from “197859” to “0”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Referenced by

Pages