Commit graph

26 commits

Author SHA1 Message Date
Marin Jankovski
e649ea2fc5 Links in Readme in tree view. 2013-10-14 16:47:46 +02:00
Marin Jankovski
5b23a7bbb9 Cover a special case. 2013-10-10 14:29:16 +02:00
Marin Jankovski
5277ac1b15 Added comments and split the methods further. 2013-10-10 11:16:15 +02:00
Marin Jankovski
7dbbb6defe Rename method to avoid clashes. 2013-10-09 15:01:02 +02:00
Marin Jankovski
70f828cd4b Split. 2013-10-09 13:28:25 +02:00
Marin Jankovski
3682a0820b Match the brackets so we don't replace the regular text. 2013-10-08 15:44:52 +02:00
Marin Jankovski
06d6f44367 Check for wiki. 2013-10-08 14:21:01 +02:00
Marin Jankovski
817399e3be Show links with correct ref. 2013-10-08 13:07:59 +02:00
Marin Jankovski
810d90dd26 Search and replace relative links in tree/readme 2013-10-08 12:24:50 +02:00
Dan Knox
7665b1de7e Use Gitlab Markdown for Markdown files and Gollum to render the rest.
This commit enables the usage of the Gitlab Markdown post processing
on all Markdown formatted files. For file types that do not contain
Markdown, it defaults to the Gollum native renderer to process the
content.
2013-03-13 23:31:08 -07:00
Dmitriy Zaporozhets
f72dc7f779 dont escape images inside links for gfm. Fixes #2701 2013-01-29 11:00:56 +02:00
Robert Speicher
496f88afe1 Escape text passed to gfm by link_to_gfm 2012-09-19 19:42:26 -04:00
Vanja Radovanović
7e2846fb57 using blank?, much shorter 2012-09-10 17:32:31 +02:00
Vanja Radovanović
8d171a8cbc fixed commit title when commit message is an empty string and ensured that link_to_gfm helper doesn't break on nil body 2012-09-10 14:40:35 +02:00
Riyad Preukschas
9a4c22d395 Remove unnecessary check in Markdown helper 2012-09-08 01:11:32 +02:00
Robert Speicher
90f587f4ee Move the entire gfm method to Gitlab::Markdown, which will be a module now 2012-09-05 16:06:20 -04:00
randx
aecbd313bc Fix glm by adding id and classes to sanitize white attrs 2012-09-02 15:25:54 +03:00
randx
beb5e1bd6b Sanitize glm helper 2012-09-01 23:35:04 +03:00
Riyad Preukschas
806695f491 Split and reformat markdown options and add refs to their docs.
Also add hard_wrap option.
2012-08-27 21:20:13 +02:00
Riyad Preukschas
32ae7fb616 Improve GFM code documentation 2012-08-23 20:10:06 +02:00
Robert Speicher
b039a16946 GFM refactor: Move the actual parsing to a class under the Gitlab module 2012-08-14 04:37:18 -04:00
Robert Speicher
e31a9dd253 GFM refactor: Update pattern to avoid an extra HTML entities check 2012-08-14 04:33:46 -04:00
Robert Speicher
d1d19aecde GFM refactor: Simplify the regex pattern
Makes use of 'extended' patterns to add comments to the groups, and also
reduces the total number of groups to just those that are used.
2012-08-14 04:33:41 -04:00
Robert Speicher
7754189187 Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
2012-08-10 18:25:15 -04:00
randx
04bad8257f Fixed markdown tests 2012-08-08 11:52:09 +03:00
randx
6171a4d8eb Fixed dashboard broken messages cause of glm 2012-08-03 03:28:02 +03:00