mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-07 06:16:43 +01:00
Disable code and strikethrough, add rel="nofollow"
This commit is contained in:
parent
9e065596d1
commit
96c694b9ad
1 changed files with 8 additions and 1 deletions
|
@ -64,11 +64,18 @@ module.config [
|
|||
|
||||
markedProvider.setRenderer
|
||||
link: (href, title, text) ->
|
||||
'<a href="' + href + '" target="_blank">' + href + '</a>'
|
||||
'<a href="' + href + '" target="_blank" rel="nofollow">' + href + '</a>'
|
||||
heading: (text, level) ->
|
||||
text
|
||||
image: (url) ->
|
||||
url
|
||||
codespan: (code) ->
|
||||
code
|
||||
code: (code, language) ->
|
||||
code
|
||||
del: (text) ->
|
||||
text
|
||||
|
||||
|
||||
# Errors
|
||||
state.state 'errors-404',
|
||||
|
|
Loading…
Reference in a new issue