Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→detergent→Examples

Table of Contents

  • Quick Take
  • Insert a line break where a selected HTML tag is stripped
  • Add missing spaces after sentence punctuation
  • Discover which cleanup rules apply to an input
  • Transform text outside HTML tags with a callback
  • Normalise typographic apostrophes
  • Normalise a dash according to the conversion setting
  • Convert three dots to an ellipsis entity
  • Choose whether to encode HTML entities
  • Inspect the exported default options
  • Set the end-of-line sequence inserted after HTML break tags
  • Fix misspelled named HTML entities
  • Choose HTML or XHTML break-tag syntax
  • Keep selected tags while stripping the rest
  • Preserve or encode non-Latin characters
  • Collapse line breaks to spaces
  • Keep the last two words together
  • Replace line breaks with HTML break tags
  • Choose whether to strip HTML tags
↑ back to top

Quick Take

↑ back to top

Insert a line break where a selected HTML tag is stripped

↑ back to top

Add missing spaces after sentence punctuation

↑ back to top

Discover which cleanup rules apply to an input

↑ back to top

Transform text outside HTML tags with a callback

↑ back to top

Normalise typographic apostrophes

↑ back to top

Normalise a dash according to the conversion setting

↑ back to top

Convert three dots to an ellipsis entity

↑ back to top

Choose whether to encode HTML entities

↑ back to top

Inspect the exported default options

↑ back to top

Set the end-of-line sequence inserted after HTML break tags

↑ back to top

Fix misspelled named HTML entities

↑ back to top

Choose HTML or XHTML break-tag syntax

↑ back to top

Keep selected tags while stripping the rest

↑ back to top

Preserve or encode non-Latin characters

↑ back to top

Collapse line breaks to spaces

↑ back to top

Keep the last two words together

↑ back to top

Replace line breaks with HTML break tags

↑ back to top

Choose whether to strip HTML tags

↑ back to top
back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab