Opened 8 years ago

Closed 8 years ago

#13491 closed defect (fixed)

View creation from ListItem#url fails if html fragment contains comments

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.7.0b1
Keywords: 1.7-mobile Cc:
Blocked By: Blocking:

Description

If you specify an html fragment file with ListItem's url parameter, and the fragment contains html comments like the following example, view creation fails.

<!-- some comments here -->

<div dojoType="dojox.mobile.View">
    <h1 dojoType="dojox.mobile.Heading" back="Home" moveTo="foo">view1.html</h1>
    ....
</div>

Change History (1)

comment:1 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

(In [25871]) Fixes #13491 !strict. Find an element node in the given html fragment to skip html comments.

Note: See TracTickets for help on using tickets.