##// END OF EJS Templates
Backport PR #4043: don't 'restore_bytes' in from_JSON...
Backport PR #4043: don't 'restore_bytes' in from_JSON It makes no sense to turn base64-encoded unicode strings into base64-encoded byte strings. I can't think why we do this, but we should be very careful about testing before merging this fix. fixes the issue tested in #4036.

File last commit:

r12465:b2940d33
r12466:3ff9c5cf
Show More
Makefile
23 lines | 516 B | text/x-makefile | MakefileLexer
all: ../latex/skeleton/null.tplx ../latex/skeleton/display_priority.tplx
# convert jinja syntax to tex
# cf http://flask.pocoo.org/snippets/55/
../latex/skeleton/%.tplx: %.tpl
@echo 'generating tex equivalent of $^: $@'
@echo '((= autogenerated file do not edit =))' > $@
@sed \
-e 's/{%/((*/g' \
-e 's/%}/*))/g' \
-e 's/{{/(((/g' \
-e 's/}}/)))/g' \
-e 's/{#/((=/g' \
-e 's/#}/=))/g' \
-e "s/tpl'/tplx'/g" \
$^ >> $@
clean:
@echo "cleaning generated tplx files..."
@rm ../latex/skeleton/*