forked from publify/publify
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Adds support for link auto extraction for short statuses. Works with …
…http, https, mailto and gopher (yeah gopher is still cool). For this, I had to add a new html_preprocess method into the content_model that's called right before the text filter so URLs with _something_ inside them won't be transformed into html before they're turned into a link. When using markdown or textile, displayed URLs with _ something _ are still broken, but OK inside the link. Maybe the solution would have been to keep this postprocess and replace the html tags with _. I'll think about that and provide a fix.
- Loading branch information
Frédéric de Villamil
committed
Aug 2, 2013
1 parent
f60a644
commit 093ec5e
Showing
5 changed files
with
68 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters