Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOM bogusly ending up with adjacent text nodes given a character reference #208

Open
Labels
@gsnedders

Description

@gsnedders
importhtml5libstring=u"<p>name&thinsp;: value</p>"dom=html5lib.parse(string,treebuilder="dom")printlen(dom.getElementsByTagName("p")[0].childNodes)

This gives three, split around the\u2009. Per spec, we should have one child text node, I'm pretty sure. This only shows up here because etree/lxml can't have adjacent text nodes in their data model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp