Added some machines and fixed c: drive boot disk support.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 3s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 3s
This commit is contained in:
parent
bd88aeee20
commit
01345cb5ff
4 changed files with 92 additions and 17 deletions
|
|
@ -20,13 +20,22 @@ endef
|
|||
$(call mb-make-call,mb-doc-function-deep,mb-make-xml-prolog,Print xml document prolog.)
|
||||
|
||||
|
||||
define _escape-xml-attr
|
||||
define mb-make-xml-escape-attr-value
|
||||
$(MB_ᕽᕽᕽ )$(subst ',',$(subst ","e;,$(subst &,&,$(subst <,<,$(subst >,>,$(subst $(MB_MAKE_XML_CDATA_START),,$(subst $(MB_MAKE_XML_CDATA_END),,$(1))))))))
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-xml-escape-attr-value,Prints escaped XML attribute value.,<value>)
|
||||
|
||||
|
||||
define mb-make-xml-escape-tag-body
|
||||
$(MB_ᕽᕽᕽ )$(subst $(MB_MAKE_XML_CDATA_START),,$(subst $(MB_MAKE_XML_CDATA_END),,$(1)))
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-xml-escape-tag-body,Prints escaped XML element/tag body value.,<value>)
|
||||
|
||||
|
||||
define mb-make-xml-open
|
||||
$(MB_ᕽᕽᕽ )$(MB_MAKE_XML_LT)$(1)$\
|
||||
$(MB_ᕽᕽᕽ )$(if $(2), $(2)$(MB_MAKE_EQUALS)"$(call mb-make-call,_escape-xml-attr,$(3))")$\
|
||||
$(MB_ᕽᕽᕽ )$(if $(4), $(4)$(MB_MAKE_EQUALS)"$(call mb-make-call,_escape-xml-attr,$(5))")$\
|
||||
$(MB_ᕽᕽᕽ )$(if $(2), $(2)$(MB_MAKE_EQUALS)"$(call mb-make-call,mb-make-xml-escape-attr-value,$(3))")$\
|
||||
$(MB_ᕽᕽᕽ )$(if $(4), $(4)$(MB_MAKE_EQUALS)"$(call mb-make-call,mb-make-xml-escape-attr-value,$(5))")$\
|
||||
$(MB_ᕽᕽᕽ )$(MB_MAKE_XML_GT)
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-xml-open,Print xml open tag.,<tag> [attr1-name] [attr1-value] [attr2-name] [attr2-value])
|
||||
|
|
@ -38,12 +47,9 @@ endef
|
|||
$(call mb-make-call,mb-doc-function-deep,mb-make-xml-close,Print xml close tag.,<tag>)
|
||||
|
||||
|
||||
define _escape-xml-value
|
||||
$(MB_ᕽᕽᕽ )$(subst $(MB_MAKE_XML_CDATA_START),,$(subst $(MB_MAKE_XML_CDATA_END),,$(1)))
|
||||
endef
|
||||
define mb-make-xml-value
|
||||
$(MB_ᕽᕽᕽ )$(MB_MAKE_XML_CDATA_START)$\
|
||||
$(MB_ᕽᕽᕽ )$(call mb-make-call,_escape-xml-value,$(1))$\
|
||||
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-make-xml-escape-tag-body,$(1))$\
|
||||
$(MB_ᕽᕽᕽ )$(MB_MAKE_XML_CDATA_END)
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-xml-value,Print xml value in cdata wrapper.,<value>)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue