Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-wiki
Commits
3a06ff1b
Commit
3a06ff1b
authored
Jun 20, 2013
by
benjaoming
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #168 from TomLottermann/master
Fixed non-found absolute wiki links
parents
39ecbdfc
a448f74d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
wiki/plugins/highlighter/mdx/djangowikilinks.py
+1
-1
wiki/plugins/links/mdx/djangowikilinks.py
+1
-1
No files found.
wiki/plugins/highlighter/mdx/djangowikilinks.py
View file @
3a06ff1b
...
@@ -79,7 +79,7 @@ class WikiPath(markdown.inlinepatterns.Pattern):
...
@@ -79,7 +79,7 @@ class WikiPath(markdown.inlinepatterns.Pattern):
urlpath
=
None
urlpath
=
None
path
=
path_from_link
path
=
path_from_link
try
:
try
:
urlpath
=
models
.
URLPath
.
get_by_path
(
path_from_link
)
urlpath
=
models
.
URLPath
.
get_by_path
(
article_title
)
path
=
urlpath
.
get_absolute_url
()
path
=
urlpath
.
get_absolute_url
()
except
models
.
URLPath
.
DoesNotExist
:
except
models
.
URLPath
.
DoesNotExist
:
pass
pass
...
...
wiki/plugins/links/mdx/djangowikilinks.py
View file @
3a06ff1b
...
@@ -79,7 +79,7 @@ class WikiPath(markdown.inlinepatterns.Pattern):
...
@@ -79,7 +79,7 @@ class WikiPath(markdown.inlinepatterns.Pattern):
urlpath
=
None
urlpath
=
None
path
=
path_from_link
path
=
path_from_link
try
:
try
:
urlpath
=
models
.
URLPath
.
get_by_path
(
path_from_link
)
urlpath
=
models
.
URLPath
.
get_by_path
(
article_title
)
path
=
urlpath
.
get_absolute_url
()
path
=
urlpath
.
get_absolute_url
()
except
models
.
URLPath
.
DoesNotExist
:
except
models
.
URLPath
.
DoesNotExist
:
pass
pass
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment