MehdiK/Humanizer — pull request #222 by thunsaker (2014-04-16 06:40:02+00:00)
Title: Tweaked Spanish Ordinalize and ToOrdinalWords format

Updated Spanish `ToOrdinalWords` to account for the special exception with 1st and 3rd which lose their "o" in the singular masculine form. We are inferring quantity here since the most common use of ordinals is singular (the first week, the 3rd quarter, the 16th amendment) and we can address quantity differences later, if needed, with issue #220. Related: #212

Slight modification to the formatting of Spanish Ordinals when using `Ordinalize`, based on new [information](http://en.wikipedia.org/wiki/Ordinal_indicator#Galician.2C_Italian.2C_Portuguese.2C_and_Spanish), the proper format is to use a superscript a/o with a period after the number: 2.ª (segunda/second *fem.*.) When ordinalizing primer (first), it goes to 1er instead of 1.er (see special exception from above) since there is no "er" superscript. The sites that display it are cheating using the `` tag, which I did here, but we can't do when outputting text to an end user. This exception also applies to 3rd (3er/tercer.) Thanks to the initial work done on #217 by @akamud.

**Note:** Depending on the font used, the o/a superscript is underlined in the code it is underlined, here it is not.

Way more information than anyone needs on Spanish Ordinals is available at the [Real Academia Española](http://lema.rae.es/dpd/?key=ordinales&lema=ordinales)