HTML-HTML5-Entities

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


 [ Packaging ]
 - Switch to Dist::Inkt.

0.003	2012-06-26

 - Drop non-core dependencies.

0.002	2012-01-16

 - %char2entity is now a more conservative mapping, based on XHTML 1.0 (but
   without apos). This makes it safer for serialising XHTML 1.x, HTML4 and
   HTML5 documents.

0.001	2011-10-07	Initial release

doap.ttl  view on Meta::CPAN

	rdfs:label           "Initial release";
	dc:issued            "2011-10-07"^^xsd:date;
	doap:file-release    <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/HTML-HTML5-Entities-0.001.tar.gz>;
	doap:revision        "0.001"^^xsd:string.

<http://purl.org/NET/cpan-uri/dist/HTML-HTML5-Entities/v_0-002>
	a                    doap:Version;
	dc:issued            "2012-01-16"^^xsd:date;
	doap-changeset:changeset [
		doap-changeset:item [
			rdfs:label "%char2entity is now a more conservative mapping, based on XHTML 1.0 (but without apos). This makes it safer for serialising XHTML 1.x, HTML4 and HTML5 documents."@en;
		];
		doap-changeset:versus <http://purl.org/NET/cpan-uri/dist/HTML-HTML5-Entities/v_0-001>;
	];
	doap:file-release    <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/HTML-HTML5-Entities-0.002.tar.gz>;
	doap:revision        "0.002"^^xsd:string.

<http://purl.org/NET/cpan-uri/dist/HTML-HTML5-Entities/v_0-003>
	a                    doap:Version;
	dc:issued            "2012-06-26"^^xsd:date;
	doap-changeset:changeset [

lib/HTML/HTML5/Entities.pm  view on Meta::CPAN

notations.

=item C<< %HTML::HTML5::Entities::char2entity >>

=item C<< %HTML::HTML5::Entities::entity2char >>

There contain the mapping from all characters to the corresponding entities
(and vice versa, respectively). These variables may be exported.

Note that C<< %char2entity >> is a more conservative set of mappings, intended to
be safe for serialising strings to HTML4, HTML5 and XHTML 1.x. And for
hysterical raisins, C<< %entity2char >> does not include the leading ampersands,
while C<< %char2entity >> does.

=back

=head1 BUGS

Please report any bugs to
L<http://rt.cpan.org/Dist/Display.html?Queue=HTML-HTML5-Entities>.



( run in 0.511 second using v1.01-cache-2.11-cpan-49f99fa48dc )