mirror of
https://github.com/moparisthebest/xeps
synced 2025-01-30 15:00:09 -05:00
Inline XML entities
Browsers do not expand external XML entities so they must be inlined.
This commit is contained in:
parent
d60b6a03ba
commit
03940e8796
4
Makefile
4
Makefile
@ -91,8 +91,8 @@ xep-%.html: $(OUTDIR)/xep-%.html ;
|
||||
.PHONY: xep-%.pdf
|
||||
xep-%.pdf: $(OUTDIR)/xep-%.pdf ;
|
||||
|
||||
$(all_xep_xmls): $(OUTDIR)/%.xml: %.xml $(OUTDIR)
|
||||
cp $< $@
|
||||
$(all_xep_xmls): $(OUTDIR)/%.xml: %.xml $(XMLDEPS)
|
||||
xmllint --nonet --noent --loaddtd --dropdtd $< --output $@
|
||||
|
||||
$(OUTDIR)/xep.xsl: xep.xsl $(OUTDIR)
|
||||
cp $< $@
|
||||
|
Loading…
Reference in New Issue
Block a user