Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
aa
wiki
Commits
b046a888
Commit
b046a888
authored
May 15, 2012
by
Alexandre Leray
Browse files
Images embeds are now not cached by default
parent
253e51ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
aawiki/filters.py
View file @
b046a888
...
...
@@ -103,7 +103,7 @@ class AAFilterEmbed(AAFilter):
# TODO: move to templates
if
embed_style
==
"img"
:
self
.
stdout
[
'output'
]
=
'<img src="%s" />'
%
self
.
stdin
[
'
loc
al_url'
]
self
.
stdout
[
'output'
]
=
'<img src="%s" />'
%
self
.
stdin
[
'
origin
al_url'
]
elif
embed_style
==
"html5video"
:
#self.stdout['output'] = '<video class="player" controls src="%s" />' % self.stdin['local_url']
# Temporarily fixes the local serveur serving ogg with the wronf mimetype
...
...
Write
Preview
Supports
Markdown
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