Coder Social home page Coder Social logo

Comments (9)

 avatar commented on July 26, 2024

Could this be more obtuse? Just put the actual string.

from kramdown.

radicaled avatar radicaled commented on July 26, 2024

@svnpenn No.

from kramdown.

 avatar commented on July 26, 2024

@radicaled the point is what have you tried? you put this giant one line string with no indication that you have done any tests whatsoever.

Perhaps this "error" if it is one could be replicated with a much shorter string/file.

from kramdown.

gettalong avatar gettalong commented on July 26, 2024

Which ruby version was used and which kramdown version? Note that there are some cases where kramdown hangs on Ruby 1.8 that will not be fixed because Ruby 1.8 is going the way of the Dodo at the end of June.

So if you used Ruby 1.8 please try Ruby 1.9.

from kramdown.

radicaled avatar radicaled commented on July 26, 2024

Hey @gettalong , Ruby 2.0.0 and Kramdown 1.0.1 (also Kramdown 0.14.2). Ruby version was in the issue, but I'll update it with Kramdown version for future reference.

from kramdown.

gettalong avatar gettalong commented on July 26, 2024

The problem is most probably the regexp for the codeblock...

from kramdown.

radicaled avatar radicaled commented on July 26, 2024

Aye, it looks like the codeblock regexp for the Kramdown parser causes StringScanner to seemingly freeze forever.

For now, I've fallen back to just regular markdown since there's no way to disable Kramdown parser features.

from kramdown.

gettalong avatar gettalong commented on July 26, 2024

I have looked at the regexp and modified it. All original tests still pass and your test case now too.

However, I'm bit unsure why I had the part that is now removed from the regex originally in there...

from kramdown.

gettalong avatar gettalong commented on July 26, 2024

Fixed by 4057e52

from kramdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.