diff options
author | Mustafa Can Elmacı <mustafacan@elmaci.net> | 2024-11-17 15:52:45 +0300 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-11-22 22:39:46 +0100 |
commit | ae8bbb814f16c2dc2a82e88d408bee1812ceda9c (patch) | |
tree | b48de027e4f3d6a366ef60025b980bc83ee5ae90 /libs/luci-lib-nixio/axTLS/www/index.html | |
parent | aa955d6465b4d0f00cc713904e2de7bfb0cbd062 (diff) |
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>
Diffstat (limited to 'libs/luci-lib-nixio/axTLS/www/index.html')
-rwxr-xr-x | libs/luci-lib-nixio/axTLS/www/index.html | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/libs/luci-lib-nixio/axTLS/www/index.html b/libs/luci-lib-nixio/axTLS/www/index.html index 9896cd8a54..deac5a6d78 100755 --- a/libs/luci-lib-nixio/axTLS/www/index.html +++ b/libs/luci-lib-nixio/axTLS/www/index.html @@ -1,10 +1,8 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<!DOCTYPE html> +<html lang="en"> <head> -<script type="text/javascript"> -//<![CDATA[ +<script> var version = {major: 2, minor: 1, revision: 3, date: new Date("Nov 3, 2006"), extensions: {}}; -//]]> </script> <!-- TiddlyWiki 2.1.3 by Jeremy Ruston, (jeremy [at] osmosoft [dot] com) @@ -36,15 +34,14 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> -<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> +<meta charset="utf-8"/> <!--PRE-HEAD-START--> <!--{{{--> <link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml'/> <!--}}}--> <!--PRE-HEAD-END--> <title> axTLS Embedded SSL - changes, notes and errata </title> -<script type="text/javascript"> -//<![CDATA[ +<script> // --------------------------------------------------------------------------------- // Configuration repository // --------------------------------------------------------------------------------- @@ -7013,9 +7010,8 @@ merge(config.shadowTiddlers,{SiteSubtitle:"a theme for ~TiddlyWiki"}); merge(config.shadowTiddlers,{DefaultTiddlers:"LorumIpsum"}); merge(config.shadowTiddlers,{LorumIpsum:"Aenean eros arcu, condimentum nec, dapibus ut, tincidunt sit amet, urna. Quisque viverra, eros sed imperdiet iaculis, est risus facilisis quam, id malesuada arcu nulla luctus urna. Nullam et est. Vestibulum velit sem, faucibus cursus, dapibus vestibulum, pellentesque et, urna. Donec luctus. Donec lectus. Aliquam eget eros facilisis tortor feugiat sollicitudin. Integer lobortis vulputate sapien. Sed iaculis erat ac nunc. Etiam eu enim. Mauris ipsum urna, rhoncus at, bibendum sit amet, euismod eget, dolor. Mauris fermentum quam vitae ligula. Vestibulum in libero feugiat justo dictum consectetuer. Vestibulum euismod purus eget elit. Nunc sed massa porta elit bibendum posuere. Nunc pulvinar justo sit amet odio. In sed est. Phasellus ornare elementum nulla. Nulla ipsum neque, cursus a, viverra a, imperdiet at, enim. Quisque facilisis, diam sed accumsan suscipit, odio arcu hendrerit dolor, quis aliquet massa nulla nec sem.\n!heading 1\n!!heading 2\n!!!heading3\n----\n<<tag button>>\nThis is a link to a [[StyleSheet]] tiddler.\n\n> This is a blockquote\n> This is a blockquote\n> This is a blockquote\n|>|>| !This is a header |h\n|column1|column2|column3|\n|row2| row2 |row2|\n|column1|column2|column3|\n|row2| row2 |row2|\n|column1|column2|column3|\n|row2| row2 |row2|"}); // --------------------------------------------------------------------------------- -//]]> </script> -<style type="text/css"> +<style> #saveTest { display: none; @@ -7069,11 +7065,9 @@ merge(config.shadowTiddlers,{LorumIpsum:"Aenean eros arcu, condimentum nec, dapi <!--PRE-BODY-START--> <!--PRE-BODY-END--> - <script type="text/javascript"> -//<![CDATA[ + <script> if (useJavaSaver) document.write("<applet style='position:absolute;left:-1px' name='TiddlySaver' code='TiddlySaver.class' archive='TiddlySaver.jar' width='1' height='1'></applet>"); -//]]> </script> <div id="copyright"> Welcome to TiddlyWiki by Jeremy Ruston, Copyright © 2006 Osmosoft Limited |