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

parsing special constructs #4

Open
GoogleCodeExporter opened this issue Apr 11, 2015 · 0 comments
Open

parsing special constructs #4

GoogleCodeExporter opened this issue Apr 11, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. make up some wikitext with lots of nested templates, like this:
abcde{{12345
|12345{{12345}}
|12345}}
12345{{12345}}12345
moretextmoretextmoretext
moretextmoretextmoretextmoretext
2. parse and print output


What is the expected output? What do you see instead?
output should include both blocks of plain text '12345' sequences. instead 
it shows only one because of an error (I think) in the logic of 
MarkupParser.parseSpecialConstruct()

It works when I add an offset to the function searching for another '{{' 
sequence, like this

int scanFrom = position;
int x = find (new char[] { '{', nextChar }) + scanFrom - beforeScan; 

Do you still maintain this code?
It would be great if you could post something about the status of this 
project.

Thanks

Oliver

Original issue reported on code.google.com by [email protected] on 15 Jul 2008 at 5:19

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

No branches or pull requests

1 participant