Cosmin Stroe
84841c8c4b
Stricter parsing of issue URLs and commit URLs. ( #3121 )
9 years ago
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
9 years ago
Odin Ugedal
8540043c45
Make separate string variables for space
9 years ago
Odin Ugedal
f57adf3637
Fix relative links in markdown files
...
Replace spaces with "%20" in "urlPrefix", before markdon processing.
The spaces were causing blackfriday (markdown processor) to behave
strange. This fixes #2545 .
9 years ago
Unknwon
d5a3021a7d
Make markdown as an independent module
9 years ago
Unknwon
341da3cea7
Fix inappropriate markdown post process end tag check
...
When <code> is nested inside <pre>, the next end tag token would not able to be the same
as outer-most start tag. So we only check outer-most start and end tag token to be the same.
9 years ago
Unknwon
8e40f86d2c
#2556 handle space in image URL
9 years ago
Unknwon
4848620594
#2229 adjust URL verbose depth for reverse proxy sub-path
9 years ago
Kim "BKC" Carlbäcker
1ab8a60d73
Not working, but slightly better...
9 years ago
Kim "BKC" Carlbäcker
3a9fd81f59
Custom URL-Schemas for Markdown
9 years ago
Kim "BKC" Carlbäcker
8e09e03127
Checklist-rendering implemented
9 years ago
Unknwon
cc8c67ff29
fix markdown autolink error
9 years ago
Unknwon
7e88420bc6
#2161 fix wrong regexp
9 years ago
Unknwon
5911fc3512
#2161 No issue linking in commits when issue number in brackets
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
ba92f4687e
minor fix markdown post process
9 years ago
Unknwon
968edb3e44
more link fix
9 years ago
Unknwon
f12832c61e
fix possible panic
9 years ago
Unknwon
126228d146
HTML render fix
9 years ago
Unknwon
9b6c835715
fix #1873
9 years ago
Unknwon
1a901433e2
minor fix for #1949
9 years ago
Howl
ca5678da32
Safely detect urlPrefix in the format /:owner/:repo
9 years ago
Howl
85c58eba90
Fix bad issue links in non-readme markdown files
9 years ago
Unknwon
3b62a0fe0e
fix #1572 fix file histrory paging issue
9 years ago
Unknwon
54ca0b2f09
#1433 images with links in Markdown
...
- #1904 minor fix on image link
9 years ago
Unknwon
90a6553c37
#1009 Config option for preserving hard line breaks
9 years ago
Don Bowman
9e6bd31d76
fixes for binary
10 years ago
Fernando San Julián
c5be40decb
new markdown styles
10 years ago
Don Bowman
81e6173356
remove blackfriday.EXTENSION_HARD_LINE_BREAK from options.
10 years ago
Unknwon
ab6b288141
#637 #738 fix markdown: render special links
...
- code format for #1020
10 years ago
James Cracknell
41cc43208e
Mousewheel paste
10 years ago
James Cracknell
127eb439d7
Exclude HTML tags from Markdown post-processing
...
HTML tags are no longer processed for special links, etc
Contents of <a>, <code> and <pre> are not processed for special links
Processing for special links is done after Markdown conversion
10 years ago
Peter Smit
5cd887dba5
Fixes #921
...
Fixes #921 and makes the Mention regexp be in line with the others
10 years ago
Unknwon
afccd0a3ee
models/action.go: mirror fix on #892
...
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
10 years ago
Unknwon
0669897226
modules/base: fix markdown mention regex for #826
...
- conf/locale: add mew translator profile
10 years ago
Unknwon
bfce0def25
modules/base: fix README filename checker, fix #877
10 years ago
Unknwon
ee6786216a
modules/base: clean code with #838
10 years ago
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
...
- update russian locale
10 years ago
Michael Dyrynda
c7cbdd34fb
Adjust MentionPattern to not match users mid-sentence (or email addresses)
...
Fix link to user profile, update based on adjusted MentionPattern
10 years ago
Unknwon
9a1fe801e5
fix #711
10 years ago
dennis-smurf
d0a80e432d
Addded sha1 pattern in markdown for current repository
10 years ago
Unknwon
9ae92459a5
Fix repo css and rel path img in md
10 years ago
Unknwon
263d409326
Basic xss prevention
10 years ago
Unknwon
7ba9257a7f
Add suburl support
10 years ago
Martin van Beurden
0055cbd365
Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
...
Conflicts:
modules/setting/setting.go
Conflicts:
templates/repo/release/list.tmpl
templates/user/dashboard/dashboard.tmpl
Conflicts:
routers/repo/setting.go
10 years ago
Unknwon
97a373f5e7
Fix #362 , update code with upstream
10 years ago
Unknown
f979d0d6b9
Fix #138
11 years ago
Unknown
c1eb4d894a
Clean api code
11 years ago
Unknown
f644cefa86
Finish release
11 years ago
zhsso
a4cbe79567
fix
11 years ago