Comments (12)
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.
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.
https://gist.github.com/mps/5415670#file-gistfile1-m
from attributedmarkdown.
@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.
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.
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.
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.
Thanks for the heads up
from attributedmarkdown.
For now I have gone ahead and just replaced the appropriate strings before setting them.
from attributedmarkdown.
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.
+1 @dreamwieber
Any plans to support emoji ala github?
from attributedmarkdown.
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)
- Extending to handle ordered lists HOT 1
- Version/tag missing
- Pod install broken HOT 1
- xcode is looking for /Users/username/iPhone HOT 5
- Problem with iOS 6 HOT 2
- Add strike-through extension from peg-markdown HOT 1
- Crashes when Emails included in markdown HOT 3
- Bullet list and ordered list have different formatting HOT 1
- Latest cocoapods compiles AttributedMarkdown using ARC HOT 2
- Mach-O linker error on build
- Is there any mechanism for knowing the links for the corresponding formatted text after the text has been formatted? HOT 1
- When using Cocoapods to install there are two warnings HOT 6
- How do I use attributes with Swift HOT 3
- Issue with font cascading HOT 4
- Are newlines handled correctly? HOT 2
- Crash when using with Swift
- Can't include as a dependency in a podspec - please post to cocoapods repo! HOT 7
- Github flavored markdown support
- The program is stuck
- How to deal with online imagesοΌ
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from attributedmarkdown.