Skip to content
Snippets Groups Projects
Commit 660184fa authored by Gabriel Mazetto's avatar Gabriel Mazetto
Browse files

Disable raw content rendering

parent 97e57ddd
No related branches found
No related tags found
1 merge request!4Disable raw rendering
Pipeline #
Loading
Loading
@@ -8,7 +8,7 @@ variables:
before_script:
- apt update
- apt install python-pip git build-essential -y
- pip install docutils
- pip install 'docutils==0.12'
- bundle install --jobs $(nproc)
script:
- bundle exec rake test
Loading
Loading
## 1.5.1 (2017-01-09)
* Disable rendering from `.. raw::` content block
## 1.5.0 (2016-10-13)
 
* GitLab CI support
Loading
Loading
Loading
Loading
@@ -25,7 +25,7 @@ this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
 
__author__ = "Jannis Leidel"
__license__ = "CC0"
__version__ = "0.1"
__version__ = "0.2"
 
import sys
import os
Loading
Loading
@@ -56,7 +56,7 @@ from docutils.writers.html4css1 import Writer, HTMLTranslator
SETTINGS = {
'cloak_email_addresses': False,
'file_insertion_enabled': False,
'raw_enabled': True,
'raw_enabled': False,
'strip_comments': True,
'doctitle_xform': True,
'sectsubtitle_xform': True,
Loading
Loading
Loading
Loading
@@ -88,4 +88,3 @@ but no problem!</td>
 
<p>Press <kbd>Ctrl+C</kbd> to quit</p>
 
<p><strong>RAW HTML!</strong></p> p {color:blue;}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment