htmLawed (1.2.15) test

HTMLAWED 1.2.15 TEST
htm / txt documentation
Input » (max. 64000 chars)
Validator tools: Encoding:


Settings »
Config:
  • abs_url: -1 0 1 absolute/relative URL conversion; if not 0, provide base_url
  • and_mark: 0 1 [disabled] mark input & (and) character
  • anti_link_spam: 0 regex for rel=nofollow: regex for empty href: modify href values as an anti-link spam measure
  • anti_mail_spam: 0 replacement: replace @ in mailto: URLs
  • any_custom_element: 0 1 allow custom element
  • balance: 0 1 fix nestings and balance tags
  • base_url: base URL
  • cdata: 0 1 2 3 not set allow CDATA sections
  • clean_ms_char: 0 1 2 replace bad characters introduced by Microsoft apps. like Word
  • comment: 0 1 2 3 4 not set allow HTML comments
  • css_expression: 0 1 not set allow dynamic expressions in CSS style properties
  • deny_attribute: 0 these: denied attributes
  • direct_list_nest: 0 1 not set allow direct nesting of a list within another without requiring it to be a list item
  • elements: allowed elements
  • hexdec_entity: 0 1 2 convert hexadecimal numeric entities to decimal ones, or vice versa
  • hook: [disabled] name of hook function
  • hook_tag: [disabled] name of custom function to further check attribute values
  • keep_bad: 0 1 2 3 4 5 6 keep, or remove bad tag content
  • lc_std_val: 0 1 lower-case std. attribute values like radio
  • make_tag_strict: 0 1 2 not set transform deprecated elements
  • named_entity: 0 1 allow named entities, or convert numeric ones
  • no_deprecated_attr: 0 1 2 allow deprecated attributes, or transform them
  • parent: name of parent element
  • safe: 0 1 for most safe HTML; if 1, you may want to remove javascript from schemes below
  • schemes: allowed URL protocols
  • show_setting: variable name to record finalized htmLawed settings
  • style_pass: 0 1 not set do not look at style attribute values
  • tidy: -1 0 1 format: beautify/compact
  • unique_ids: 0 1 prefix: unique id values
  • valid_xhtml: 0 1 not set auto-set various parameters for most valid XHTML
  • xml:lang: 0 1 2 not set auto-add xml:lang attribute
Spec:

Use with a Javascript- and cookie-enabled, relatively new version of a common browser.

You can use text from this collection of test-cases in the input. Set the character encoding of the browser to Unicode/utf-8 before copying.

For anti-XSS tests, try the special test-page or see these results.

Change Encoding to reflect the character encoding of the input text. Even then, it may not work or some characters may not display properly because of variable browser support and because of the form interface. Developers can write some PHP code to capture the filtered input to a file if this is important.

Refer to the htmLawed documentation (htm/txt) for details about Settings, and htmLawed's behavior and limitations. For Settings, incorrectly-specified values like regular expressions are silently ignored. One or more settings form-fields may have been disabled. Some characters are not allowed in the Spec field.

Hovering the mouse over some of the text can provide additional information in some browsers.

Because of character-encoding issues, the W3C validator (anyway not perfect) may reject validation requests or invalidate otherwise-valid code, esp. if text was copy-pasted in the input box. Local applications like the HTML Validator Firefox browser add-on may be useful in such cases.

AltStyle によって変換されたページ (->オリジナル) /