Version 2 for Kayako 4.54.3181

The base code has been rewritten from scratch to add several improvements.
Added by Gary Mcgrath over 4 years ago

Tidy module detection has been added and will display a warning ( and still display content ) when php tidy is not enabled.
New smart breakline detection engine which now uses an array to assign the smart breakline.

( This means you can add your own smart breaklines! Useful to add alternate language breaklines, along with new custom breaklines )