0
0
mirror of https://github.com/openwrt/luci.git synced 2025-01-30 07:51:51 +00:00
luci/libs/luci-lib-nixio
Mustafa Can Elmacı ae8bbb814f treewide: HTML Cleanup
* HTML Cleanup: Meta tags.
* Converted charset to shorthand.
* Removed meta tags with `Content-Script-Type` attribute. (Invalid in HTML5 spec.)

* HTML Cleanup: CSS tags.
* Removed `type` attribute with CSS files from link tags. (HTML5 spec recommends omitting it.)
* Removed `type` attribute from style tags. (Deprecated in HTML5 spec.)
https://html.spec.whatwg.org/#attr-link-type
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style

* HTML Cleanup: Convert from XHTML to HTML5
* Removed XML declaration.
* Removed XML namespace.
* Changed doctype to HTML5.

* HTML Cleanup: CDATA tags.
* CDATA sections should not be used within HTML they are considered as comments and not displayed.
https://developer.mozilla.org/en-US/docs/Web/API/CDATASection

* HTML Cleanup: Script tags.
* Removed `language` attribute from script tags. (No longer valid in HTML5)
* Removed `type` attribute with JavaScript MIME type from script tags. (HTML5 spec recommends omitting it.)
https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type
https://mimesniff.spec.whatwg.org/#javascript-mime-type

Signed-off-by: Mustafa Can Elmacı <mustafacan@elmaci.net>
2024-11-22 22:39:46 +01:00
..
2024-11-22 22:39:46 +01:00
2015-01-08 16:26:20 +01:00
2019-12-20 23:12:48 +01:00
2015-01-08 16:26:20 +01:00
2015-01-08 16:26:20 +01:00
2015-01-08 16:26:20 +01:00
2015-01-08 16:26:20 +01:00

Building:
	Use GNU Make.
	make or gmake depending on your system.
	
	Special make flags:

	OS		Override Target OS	[Linux|FreeBSD|SunOS|Windows]
	NIXIO_TLS	TLS-Library		[*openssl|axtls]
	NIXIO_CROSS_CC	MinGW CC (Windows)	`which i586-mingw32msvc-cc`
	LUA_CFLAGS	Lua CFLAGS		`pkg-config --cflags lua5.1`
	LUA_TARGET	Lua compile		target	[*source|strip|compile]
	LUA_MODULEDIR	Install LUA_PATH	"/usr/share/lua/5.1"
	LUA_LIBRARYDIR	Install LUA_CPATH	"/usr/lib/lua/5.1"