mirror of
https://github.com/moparisthebest/xeps
synced 2025-01-30 23:10:10 -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
|
.PHONY: xep-%.pdf
|
||||||
xep-%.pdf: $(OUTDIR)/xep-%.pdf ;
|
xep-%.pdf: $(OUTDIR)/xep-%.pdf ;
|
||||||
|
|
||||||
$(all_xep_xmls): $(OUTDIR)/%.xml: %.xml $(OUTDIR)
|
$(all_xep_xmls): $(OUTDIR)/%.xml: %.xml $(XMLDEPS)
|
||||||
cp $< $@
|
xmllint --nonet --noent --loaddtd --dropdtd $< --output $@
|
||||||
|
|
||||||
$(OUTDIR)/xep.xsl: xep.xsl $(OUTDIR)
|
$(OUTDIR)/xep.xsl: xep.xsl $(OUTDIR)
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
Loading…
Reference in New Issue
Block a user