bug: parser does not handle class attribute with mulitple classes defined

22 views
Skip to first unread message

David

unread,
Nov 10, 2010, 1:19:05 AM11/10/10
to ModelText
Hi Chris,

Nice component. While evaluating for potential commercial use (the
top level api), I encountered this bug which is a showstopper fro our
consideration:

Html allows multiple (1 to N) classes to be space separated within the
class attribute of a tag. For example:

<div class="content_block description_block">This is my text</div>


In this case, two classes should be applied to the div element:
content_block and description_block.

Currently, the ModelText component does not correctly resolve both
styles--in fact it appears to ignore both and only apply the element
selector for div.

Can you verify this issue and if you concur, estimate a resolution
date?

Christopher Wells

unread,
Nov 10, 2010, 3:35:31 AM11/10/10
to ModelText
Hi David,

I agree: it didn't support that functionality, and it should have.

I have uploaded to the web site a new release, which implements that
functionality.

Regards,
Christopher.
Reply all
Reply to author
Forward
0 new messages