{"id":16310637,"url":"https://github.com/gfldex/perl6-typesafe-html","last_synced_at":"2026-01-29T04:53:58.908Z","repository":{"id":146215258,"uuid":"49500876","full_name":"gfldex/perl6-typesafe-html","owner":"gfldex","description":"typesafe baseclass for Typesafe::XHTML::Writer","archived":false,"fork":false,"pushed_at":"2017-01-21T11:09:42.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-30T08:53:16.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl6","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gfldex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-12T13:12:03.000Z","updated_at":"2016-01-12T13:12:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"276529c0-47f9-4c80-bda7-093da51e3218","html_url":"https://github.com/gfldex/perl6-typesafe-html","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gfldex/perl6-typesafe-html","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfldex%2Fperl6-typesafe-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfldex%2Fperl6-typesafe-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfldex%2Fperl6-typesafe-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfldex%2Fperl6-typesafe-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfldex","download_url":"https://codeload.github.com/gfldex/perl6-typesafe-html/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfldex%2Fperl6-typesafe-html/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28862922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"online","status_checked_at":"2026-01-29T02:00:06.714Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T21:42:40.101Z","updated_at":"2026-01-29T04:53:58.874Z","avatar_url":"https://github.com/gfldex.png","language":"Perl6","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Typesafe::HTML\n[![Build Status](https://travis-ci.org/gfldex/perl6-typesafe-html.svg?branch=master)](https://travis-ci.org/gfldex/perl6-typesafe-html)\n\nBaseclass to be used with Typesafe::XHTML::Writer. It overloads `infix:\u003c~\u003e` to\nguard against omision of HTML-element quotation. This is not a DOM\nimplementation, it's merely a secure way to concatanate HTML and non-HTML\nstrings. It's lightweight by design, resulting in fairly good speed.\n\nThe only characters that are turned into HTML-Entities are `\u003c` and `\u0026`. If you\nneed more use a modules that does not focus on speed.\n\n## Usage:\n```\nuse v6;\nuse Typesafe::HTML;\n\nmy $html = HTML.new('\u003cp\u003ethis will not be quoted\u003c/p\u003e');\n$html ~= '\u003cp\u003ethis will\u003c/p\u003e';\n$html = $html ~ '\u0026 this will also be quoted';\n$html = '\u0026 this prefix too' ~ $html;\n\ndd $html;\n\n# OUTPUT: HTML $html = HTML.new('\u0026amp; this prefix too\u003cp\u003ethis will not be quoted\u003c/p\u003e\u0026lt;p\u003ethis will\u0026lt;/p\u003e\u0026amp; this will also be quoted');\n\n\n$html = HTML.new ~ '\u0026 more quoting';\n\ndd $html;\n\n# OUTPUT: HTML $html = HTML.new('\u0026amp; more quoting');\n\nput $html.Str;\n\n# OUTPUT: \u0026amp; more quoting\n```\n\n## License\n\n(c) Wenzel P. P. Peppmeyer, Released under Artistic License 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfldex%2Fperl6-typesafe-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgfldex%2Fperl6-typesafe-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfldex%2Fperl6-typesafe-html/lists"}