Comments (5)
Not urlencoding ~
sounds easy enough. I'm not sure I understand the edit you just did with the workaround, but I'll see if I can simply not strip the ~
.
from qlmarkdown.
the workaround should just show that by using html syntax i can get around the ~
url encoding problem. sure it would be ideal if this could be fixed in the source.
from qlmarkdown.
After trying for an hour to reproduce your problem, I think there might be some confusion.
I don't see anywhere in the markdown reference that bare urls such as http://www.google.com/
are supposed to be converted into links. The GitHub markdown does automatically convert bare urls to links, but the discount module that QLMarkdown is using doesn't support it.
If you want to use a link, you have to write [Link text](http://www.google.com/)
and it will show up like this: Link text.
Please let me know how you want to proceed with this. If you want the bare addresses converted, we should probably put it in the issues for the Discount module we're using.
from qlmarkdown.
I've just been hit by this (umm... in GitHub generally, so perhaps not this project at all! But anyway, for reference:) Our markdown contains ~, the HTML renders the HREF as %7E. Of three browsers tested, two send the %7E to the server and the other url-decodes to ~ before sending. This obscured what was going on. The server then failed to url-decode the %7e. Arguably the server is wrong. But even so, according to the latest applicable RFC, tilde is unreserved, and "Unreserved characters can be escaped without changing the semantics of the URI, but this should not be done unless the URI is being used in a context that does not allow the unescaped character to appear." (http://www.rfc-editor.org/rfc/rfc2396.txt)
The link in question was IBM 5110 Emulator which for me works with Chrome, not with Firefox and not with Safari.
from qlmarkdown.
There are many arguments why "tilde" ~ character should be encoded. On the other hand more recent RFC 3986 lists ~ as character that is not escaped by default (see Python's urllib change).
from qlmarkdown.
Related Issues (20)
- Markdown parser broken. Title shown inside code block HOT 7
- Brew upgrade failed HOT 8
- This project has been abandoned: Discussion HOT 24
- Does not work in Ventura HOT 6
- How to remove the page border created in quicklook?
- add support for ketex
- Support for bm command HOT 1
- Link
- Plans for a new release?
- How do you run qlmarkdown? HOT 1
- Download failed on Cask 'qlmarkdown'
- SHA256 checksum mismatch while installing with brew HOT 1
- Adjacent text with code block formatting problem
- Is it possible to style the preview thumbnail? HOT 4
- Not working on catalina public beta 3 HOT 23
- Auto Dark/Light Mode Switch - Suggestion HOT 2
- Release 1.3.6 appears to still be 1.3.5 HOT 3
- quick Q: is it supposed to render the markdown in QV or just shoe text? HOT 3
- Does not work under macOS Catalina Version 10.15.4 HOT 1
- Does not work under macOS Catalina Version 10.15.4 HOT 15
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 qlmarkdown.