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

Exception thrown in MarkdownRegex.init #15

Open
bwake2012 opened this issue Jun 10, 2016 · 2 comments
Open

Exception thrown in MarkdownRegex.init #15

bwake2012 opened this issue Jun 10, 2016 · 2 comments

Comments

@bwake2012
Copy link

pattern = "://www.rafaelsabatini.com/)"
options = 0

The original text =
"Rafael Sabatini was born April 29, 1875 in what was then the small town of Jesi, Italy, which is near the Adriatic and the seaport of Ancona. He passed away on February 13, 1950 and is buried in Adelboden, Switzerland. A popular author during his lifetime, he produced 31 novels, 8 short novel/short story collections, 6 nonfiction books, numerous short stories, and a play. (Source: http://www.rafaelsabatini.com/)"

@bwake2012
Copy link
Author

It did not throw the exception once I turned autoHyperlink off.

var options = MarkdownOptions()
options.autoHyperlink = false
options.autoNewlines = true
options.emptyElementSuffix = ">"
options.encodeProblemUrlCharacters = true
options.linkEmails = false
options.strictBoldItalic = true

cacheMarkdown = Markdown( options: options )

@kristopherjohnson
Copy link
Owner

Sorry that I haven't taken any action on this myself, but I really don't want to debug the regular expressions I copied from MarkdownSharp. I'm hoping someone else will be interested in doing this.

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

2 participants