Added xml prolog print function.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 4s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 4s
This commit is contained in:
parent
c965e2dbfa
commit
669c687b8b
|
@ -12,6 +12,13 @@ MB_MAKE_XML_CDATA_END := ]]>
|
|||
$(call mb-make-call,mb-doc-variable-rock,MB_MAKE_XML_CDATA_END,Expanded special char; XML cdata end.)
|
||||
|
||||
|
||||
define mb-make-xml-prolog
|
||||
$(MB_ᕽᕽᕽ )$(MB_MAKE_XML_LT)$\
|
||||
$(MB_ᕽᕽᕽ )?xml version$(MB_MAKE_EQUALS)"1.0" ?$\
|
||||
$(MB_ᕽᕽᕽ )$(MB_MAKE_XML_GT)
|
||||
endef
|
||||
|
||||
|
||||
define _escape-xml-attr
|
||||
$(MB_ᕽᕽᕽ )$(subst ',',$(subst ","e;,$(subst &,&,$(subst <,<,$(subst >,>,$(subst $(MB_MAKE_XML_CDATA_START),,$(subst $(MB_MAKE_XML_CDATA_END),,$(1))))))))
|
||||
endef
|
||||
|
|
Loading…
Reference in a new issue