diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2020-02-13 11:21:34 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2020-02-13 11:21:34 +0100 |
commit | 28a9164ab9b64547347618e3d35bd8639f433dc1 (patch) | |
tree | 90e6d2598fe305e02c2a48ffce1c4fca94ffd735 | |
parent | 195949f9faf826bf48827eee1ea1c10f8fa35434 (diff) | |
download | lulua-28a9164ab9b64547347618e3d35bd8639f433dc1.tar.gz lulua-28a9164ab9b64547347618e3d35bd8639f433dc1.tar.bz2 lulua-28a9164ab9b64547347618e3d35bd8639f433dc1.zip |
Fix HTML5 validation errors
-rw-r--r-- | doc/index.html | 8 | ||||
-rw-r--r-- | lulua/stats.py | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/doc/index.html b/doc/index.html index 5de59f3..409ffc0 100644 --- a/doc/index.html +++ b/doc/index.html @@ -17,13 +17,13 @@ <div class="title-card pure-g"> <div class="pure-u-1 pure-u-lg-1-3"> <div class="lbox"> - <h1 class="title"><img class="logo" src="lulua-logo.svg"></h1> + <h1 class="title"><img class="logo" src="lulua-logo.svg" alt="لؤلؤة"></h1> <div class="pure-g flexreverse"> <div class="pure-u-1 pure-u-sm-1-2"> <!--<h2 class="subtitle">لوحة مفاتيح العربية المريحة</h1>--> </div> <div class="pure-u-1 pure-u-sm-1-2"> - <h2 class="subtitle" lang="en">Ergonomic Arabic Keyboard Layout</h1> + <h2 class="subtitle" lang="en">Ergonomic Arabic Keyboard Layout</h2> </div> </div> </div> @@ -44,7 +44,7 @@ <div class="lbox"> <p>This is work in progress and contributions are welcome. Head over to <a href="https://github.com/PromyLOPh/lulua">GitHub</a> to see where - you can help.</a></p> + you can help.</p> </div> </div> </div> @@ -86,7 +86,6 @@ <a href="https://play.google.com/store/apps/details?id=com.anysoftkeyboard.languagepack.arabic">Arabic for AnySoftKeyboard</a> <dt>Linux</dt> <dd>Run: <code>xmodmap <a href="ar-lulua.xmodmap">ar-lulua.xmodmap</a></code></dd> - </dd> </dl> </div> </div> @@ -397,7 +396,6 @@ </div> </section> -</div> <script> fetch('letterfreq.json') .then(function(response) { return response.json(); }) diff --git a/lulua/stats.py b/lulua/stats.py index 4d455c5..80c269b 100644 --- a/lulua/stats.py +++ b/lulua/stats.py @@ -400,7 +400,7 @@ def corpusHtml (args): print (f'<td><a href="{c["source"]["url"]}">{c["source"]["name"]}</a></td>') count = c.get ('count') if count: - print (f'<td class="numint">{count[0]//1000:d},</td><td class="numfrac">{count[0]%1000:03d}\u202f{count[1]}</td></td>') + print (f'<td class="numint">{count[0]//1000:d},</td><td class="numfrac">{count[0]%1000:03d}\u202f{count[1]}</td>') else: print ('<td class="numint"></td><td class="numfrac"></td>') |