-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add support for Kannada language (https://kn.wikipedia.org) #9
Conversation
@@ -131,7 +131,13 @@ public String getWikiMarkup(String s) { | |||
return ""; | |||
} | |||
|
|||
return s.substring(textStart + 27, textEnd); | |||
String s2 = s.substring(textStart + 27, textEnd); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The XML files exported from https://en.wikipedia.org/wiki/Special:Export have an additional attribute bytes
in text
element. Need to ignore this as well while reading wiki-markup.
@@ -4,3 +4,4 @@ | |||
.project | |||
target/ | |||
*~ | |||
.DS_Store |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.DS_Store file on Mac needs to be ignored.
@shivahr Thanks for the contribution. Do you want me to cut another release and push to Maven central? |
Thanks for merging. And yes, pushing a new version to Maven central would certainly help. |
Done! Thanks once again: |
OK cool. Thank you! |
Thanks @lintool for this awesome code. Found exactly what I was looking for.