Skip to content
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

Capitalization rules should ignore filenames & URLs #3

Open
infotexture opened this issue May 5, 2017 · 0 comments
Open

Capitalization rules should ignore filenames & URLs #3

infotexture opened this issue May 5, 2017 · 0 comments

Comments

@infotexture
Copy link
Contributor

The incorrect-capitalization rule currently complains about words from the specified capitalization list even when they appear in filenames:

     [echo]   Line 40: filepath - [incorrect-capitalization] 
     [echo] The word 'XML' is incorrectly capitalized in the following text: 
     [echo] 
     [echo] plugin.xml.

The same issue applies to instances of these words within URLs:

     [echo]   Line 23: dd - [incorrect-capitalization] 
     [echo] The word 'XML' is incorrectly capitalized in the following text: 
     [echo] 
     [echo] The DITA-OT project archive at dita.xml.org provides news about earlier toolkit releases  […] 

The easiest fix might be to only flag incorrect capitalization for words surrounded by whitespace, so in this case only xml would be treated as incorrect, but plugin.xml or dita.xml.org would be accepted.

jason-fox pushed a commit that referenced this issue May 18, 2017
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

No branches or pull requests

1 participant