linkify document descriptions
This commit is contained in:
parent
da8f7b1633
commit
7337a31192
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ class Document(SoftDeletableModel):
|
|||
|
||||
@property
|
||||
def html_description(self):
|
||||
return markdown2.markdown(self.description)
|
||||
return bleach.linkify(markdown2.markdown(self.description))
|
||||
|
||||
@property
|
||||
def plain_description(self):
|
||||
|
|
|
@ -193,7 +193,7 @@ ul > li:before {
|
|||
content: "➜ ";
|
||||
}
|
||||
|
||||
.doc-link a {
|
||||
.document a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue