WrappedString

WrappedString is a small PHP library for compacting text that contains redundant string-wrapping code for text output. The most common use-case is to eliminate redundant runs of HTML open/close tags and JavaScript boilerplate.

The library was developed for use by ResourceLoader.