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

backOpen Source→detergent→Examples

Permalink to Table of ContentsTable 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
  • Preserve CSS in retained HTML
  • 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

Permalink to Quick TakeQuick Take

↑ back to top

Permalink to Insert a line break where a selected HTML tag is strippedInsert a line break where a selected HTML tag is stripped

↑ back to top

Permalink to Add missing spaces after sentence punctuationAdd missing spaces after sentence punctuation

↑ back to top

Permalink to Discover which cleanup rules apply to an inputDiscover which cleanup rules apply to an input

↑ back to top

Permalink to Transform text outside HTML tags with a callbackTransform text outside HTML tags with a callback

↑ back to top

Permalink to Normalise typographic apostrophesNormalise typographic apostrophes

↑ back to top

Permalink to Normalise a dash according to the conversion settingNormalise a dash according to the conversion setting

↑ back to top

Permalink to Convert three dots to an ellipsis entityConvert three dots to an ellipsis entity

↑ back to top

Permalink to Choose whether to encode HTML entitiesChoose whether to encode HTML entities

↑ back to top

Permalink to Inspect the exported default optionsInspect the exported default options

↑ back to top

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

↑ back to top

Permalink to Fix misspelled named HTML entitiesFix misspelled named HTML entities

↑ back to top

Permalink to Choose HTML or XHTML break-tag syntaxChoose HTML or XHTML break-tag syntax

↑ back to top

Permalink to Keep selected tags while stripping the restKeep selected tags while stripping the rest

↑ back to top

Permalink to Preserve or encode non-Latin charactersPreserve or encode non-Latin characters

↑ back to top

Permalink to Preserve CSS in retained HTMLPreserve CSS in retained HTML

↑ back to top

Permalink to Collapse line breaks to spacesCollapse line breaks to spaces

↑ back to top

Permalink to Keep the last two words togetherKeep the last two words together

↑ back to top

Permalink to Replace line breaks with HTML break tagsReplace line breaks with HTML break tags

↑ back to top

Permalink to Choose whether to strip HTML tagsChoose 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