Skip to content

Conversation

@SabreCat
Copy link
Contributor

@SabreCat SabreCat commented Jan 19, 2017

Fixes #18 and #25.

Previously, when titlecase was not installed, decoding fell back on Python's builtin title() string operation for uppercasing the card name and subtypes. This resulted in awkwardness like "Brain In A Jar" and "Urza'S Mine".

Now, in MSE and Gatherer modes, if the titlecase module is not present, we at least swap out the most common faulty capitalizations for their lowercase versions.

Previously, default text and forum decoding modes did no postprocessing on lowercase text.

Now, these modes put card names and type lines into title case, and rules text into sentence case. Additionally, card names are made bold in forum mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant