Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> perl >> libhtml-html5-sanity-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libhtml-html5-sanity-perl  ]

套件: libhtml-html5-sanity-perl (0.105-4)

make HTML5 DOM trees less insane

HTML::HTML5::Sanity is a Perl library tidying HTML::HTML5::Parser.

The Document Object Model (DOM) generated by HTML::HTML5::Parser meets the requirements of the HTML5 spec, but will probably catch a lot of people by surprise.

The main oddity is that elements and attributes which appear to be namespaced are not really. For example, the following element:

 <div xml:lang="fr">...</div>

Looks like it should be parsed so that it has an attribute "lang" in the XML namespace. Not so. It will really be parsed as having the attribute "xml:lang" in the null namespace.

其他與 libhtml-html5-sanity-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: liblocale-codes-perl
    collection of Perl modules for handling of locale codes
    或者 perl (<< 5.28)
    Larry Wall's Practical Extraction and Report Language
  • dep: libxml-libxml-perl
    Perl interface to the libxml2 library
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libhtml-html5-sanity-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 11.6 kB35 kB [文件列表]