| Class | String |
| In: |
lib/musicextras/utils.rb
|
| Parent: | Object |
| MANGLE_CUTOFF_POINT | = | 22 | Specifies the cutoff point for mangle() This should be, at the maximum, no more than the length of an mp3 tag, since we will often be getting our information from them. Shortening it further may produce better results in some cases, but it is probably okay how it is |
Removes everything except word characters and shortens string to MANGLE_CUTOFF_POINT. This is used to match song titles when spaces, punctuation etc may be different.
Defaults to false.
Removes extra blank lines that may have shown up from HTML conversions. Returns the new text
XXX: May not always do what we want. Report any weirdness
Converts a string of html to text