Commit Graph

12 Commits

Author SHA1 Message Date
Karina Kwiatek bd5ec792b7 Prevent text in links from being double-escaped 2022-07-16 15:57:32 +02:00
Andreas Nedbal c84b6a61bd Use `gsub` instead of `gsub!` to not modify frozen literals 2022-01-16 22:33:48 +01:00
Andreas Nedbal 3bdca34c2d QuestionMarkdown adjustments
* Using `Redcarpet::Render::StripDown` as base now
* Support for autolinks and named links in Markdown
* Named links in questions just return the actual link as text
* Fixed codestyle in files
2022-01-16 22:33:48 +01:00
Andreas Nedbal fab007b2a2 Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-02 19:31:58 +01:00
Andreas Nedbal 48c31ebdc6 Apply review suggestion from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-01-02 19:31:58 +01:00
Andreas Nedbal 13c397fe73 Prevent exceptions with invalid URIs 2022-01-02 19:31:58 +01:00
Andreas Nedbal c28ecafa80 Refactor `SharedMarkers::autolink` to use `content_tag` 2021-12-31 22:40:38 +01:00
Andreas Nedbal 02a5e7029e Add linkfilter logic to existing renderers 2021-12-31 22:40:38 +01:00
Andreas Nedbal 67ee589b5b Add question markup renderer 2021-12-31 22:40:38 +01:00
nilsding 0bf46a888f added a new Markdown renderer (TwitteredMarkdown) which will be used for sharing to Twitter 2015-01-29 16:45:58 +01:00
nilsding 1d3848424d changed regex for matching user mentions 2014-12-31 16:02:34 +01:00
nilsding 0e4d744478 added Markdown to answers 2014-12-28 19:06:49 +01:00