mdiep / MMMarkdown

An Objective-C framework for converting Markdown to HTML.
MIT License
1.25k stars 168 forks source link

Some markup takes a long time to parse. #29

Closed rogernolan closed 10 years ago

rogernolan commented 10 years ago

This markup takes ~7s to parse:

** Please check opening times before accepting ** Task Category:- Panel Check Description:- We have been tasked to check on the Primesight Panel at the location listed below. The client has confirmed the panel IS at the location, but wants to check everything is displaying correctly. Please stand and observe for 2 minutes. There could be multiple Adverts on display - please list which ones are on the rotation. *** If there is only 1 advert, you only need to take that 1 photo - please do NOT take the same photo in every photo option *** Brief:- Agent to locate the panel in the Cinema and answer: - 3x Yes/No question - 1x Multiple Choice - Up to 5x Photos ***** IF you are unable to locate - please ask a member of staff where the advertisement panel is, it will be in that cinema somewhere ***** ** Photos are the key! We require 1 photo of each of brands being advertised - So if there are 4 pizza hut adverts on rotation, you will only need to take 1 photo, not all 4 ** ** If the panels are not plugged in on arrival, please ask a member of staff to switch the machine on - DO NOT plug them in yourselves - as prompted in Q2 ** Enjoy FA

I've not really managed to any diagnosis as to why other than it seem to go heavily recursive trying to decode the multiple asterisk runs.

mdiep commented 10 years ago

This appears to be addressed by the changes in #12, so I think the solution is for me to finish up that work.

rogernolan commented 10 years ago

Sounds good to me. Thanks.

rogernolan commented 10 years ago

Confirmed fixed in :HEAD