Code Monkey home page Code Monkey logo

Comments (12)

dreamwieber avatar dreamwieber commented on June 30, 2024

I'm not able to reproduce this. Maybe you could post a gist or some more details about what you're doing with your string? Or a stack trace?

from attributedmarkdown.

mrardon avatar mrardon commented on June 30, 2024

I just experienced this issue as well, was stumped until I saw this issue. Here is the text I am using

AppName

Created by <[email protected]>

from attributedmarkdown.

mps avatar mps commented on June 30, 2024

https://gist.github.com/mps/5415670#file-gistfile1-m

from attributedmarkdown.

mps avatar mps commented on June 30, 2024

@dreamwieber the problem appears to be here: https://github.com/dreamwieber/AttributedMarkdown/blob/master/markdown_output.m#L196

because it is parsing the markdown as a URL <[email protected]> but it is really null.

/cc @mrardon

from attributedmarkdown.

dreamwieber avatar dreamwieber commented on June 30, 2024

Thanks -- I'll look into it.

Sent from my iPhone

On Apr 18, 2013, at 12:53 PM, Matthew Strickland [email protected] wrote:

@dreamwieber the problem appears to be here: https://github.com/dreamwieber/AttributedMarkdown/blob/master/markdown_output.m#L196

because it is parsing the markdown as a URL [email protected] but it is really null.

/cc @mrardon

β€”
Reply to this email directly or view it on GitHub.

from attributedmarkdown.

dreamwieber avatar dreamwieber commented on June 30, 2024

URL support is somewhat experimental -- it's not officially supported as an NSAttributedString attributed yet on iOS, so I think it's quite possibly the cause. I did notice that the brackets seem irrelevant to the crash. It looks like the @ symbol inside the brackets is what triggers it. (I am having a hard time deciphering the string in your example @mps )

It may be a little while until I can track this down. If you're able to build the library yourself from source, you may be able to work around it temporarily by commenting out the URL code linked to by @mps.

from attributedmarkdown.

mrardon avatar mrardon commented on June 30, 2024

Just as a note I was able to get ([email protected]) (with parens not angle brackets) to work as I didn't really need a link, just an email address in plaintext.

So it may not be just the @ sign but may be the combination of @.

Thanks

from attributedmarkdown.

mps avatar mps commented on June 30, 2024

Thanks for the heads up

from attributedmarkdown.

mps avatar mps commented on June 30, 2024

For now I have gone ahead and just replaced the appropriate strings before setting them. πŸ‘

from attributedmarkdown.

dreamwieber avatar dreamwieber commented on June 30, 2024

Definitely appears to be specifically related to the brackets AND the @ symbol.

I dug around today, but couldn't figure the root cause. I'll have to see how the peg-markdown library behaves with that input string...

Sent from my iPhone

On Apr 19, 2013, at 10:42 AM, Matt Rardon [email protected] wrote:

Just as a note I was able to get ([email protected]) to work as I didn't really need a link, just an email address in plaintext.

So it may not be just the @ sign but may be the combination of @.

Thanks

β€”
Reply to this email directly or view it on GitHub.

from attributedmarkdown.

mps avatar mps commented on June 30, 2024

+1 @dreamwieber

Any plans to support emoji ala github?

from attributedmarkdown.

dreamwieber avatar dreamwieber commented on June 30, 2024

Not yet, but feel free to open an 'enhancement' ticket for it.

On Fri, Apr 19, 2013 at 4:05 PM, Matthew Strickland <
[email protected]> wrote:

+1 @dreamwieber https://github.com/dreamwieber

Any plans to support emoji ala github?

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-16694182
.

from attributedmarkdown.

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.