New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moneropedia links (created by _plugins/moneropedia.rb) are always lower case #1352
Comments
What's the expected behavior? Should they all be capitalized? From what I can tell, the Moneropedia plugin just preserves the capitalization of the terms provided in each Moneropedia entry, and the majority of them are lowercase. Several of them (Locally-unique host, Canonically-unique host, and Kovri) are capitalized and are displayed as such. |
They should be capital when at the beginning of a sentence or after a dot, lowercase if the word is in the middle of a sentence. |
What do you think about replacing the hyperlink text with the regex match instead of whatever term is stored in the entry? That way, the Moneropedia links simply reflect the way that they were written, and it wouldn't require any code to check for punctuation.
For example, |
Good idea. I was slightly worried about how the other languages would have reacted (especially the ones not using latin characters), but i tested your patch quite extensively and there seem to be no problems. Would you PR your patch? As you said, capitalization errors are not a big deal and we can fix them when we find them. |
No description provided.
The text was updated successfully, but these errors were encountered: