Permalink
Browse files

Correct html

removed slashes from self-closing tags (not required in html5)
  • Loading branch information...
1 parent c2d3c50 commit 8f97964f8296ec3e3c5eb66013ca0d976f139fe8 @shvelo committed May 25, 2012
Showing with 10 additions and 10 deletions.
  1. +5 −5 pudoku.py
  2. BIN static/Thumbs.db
  3. +3 −3 templates/index.html
  4. +2 −2 templates/layout.html
View
10 pudoku.py 100755 → 100644
@@ -22,21 +22,21 @@ def pudo(difficulty=0):
for n in do:
if c in l:
- ku.append('%s\n<br /> +%s+ <br />\n' % ('|' if c != 0 else '', '-' * 80))
+ ku.append('%s\n<br> +%s+ <br>\n' % ('|' if c != 0 else '', '-' * 80))
if c % 9 == 0 and c not in l:
- ku.append('|\n<br />\n')
+ ku.append('|\n<br>\n')
if c % 3 == 0:
ku.append('|')
- ku.append('<input align="top" type="text" %s value="%s" name="%s" maxlength="1" />\n' \
+ ku.append('<input align="top" type="text" %s value="%s" name="%s" maxlength="1">\n' \
% ('readonly="readonly"' if n else '', n, str(c)))
c += 1
- ku.append('|\n<br /> +%s+ <br />' % ('-' * 80))
- ku.append('\n<br /><br />\n<input class="btn primary" type="submit" value="Submit" name="submit" /></form></div>')
+ ku.append('|\n<br> +%s+ <br />' % ('-' * 80))
+ ku.append('\n<br><br>\n<input class="btn primary" type="submit" value="Submit" name="submit"></form></div>')
pudoku = ' '.join(ku)
global solution
solution = pu.solution
View
Binary file not shown.
View
@@ -1,11 +1,11 @@
<div class="media-grid">
<a href="/easy" title="Easy">
- <img class="thumbnail" src="{{ url_for('static', filename='easy.png') }}"/>
+ <img class="thumbnail" src="{{ url_for('static', filename='easy.png') }}">
</a>
<a href="/medium" title="Medium">
- <img class="thumbnail" src="{{ url_for('static', filename='medium.png') }}"/>
+ <img class="thumbnail" src="{{ url_for('static', filename='medium.png') }}">
</a>
<a href="/hard" title="Hard">
- <img class="thumbnail" src="{{ url_for('static', filename='hard.png') }}"/>
+ <img class="thumbnail" src="{{ url_for('static', filename='hard.png') }}">
</a>
</div>
View
@@ -27,8 +27,8 @@
allowtransparency="true" frameborder="0" scrolling="0" width="62px" height="20px"></iframe>
<iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=s1n4&repo=pudoku&type=fork"
allowtransparency="true" frameborder="0" scrolling="0" width="53px" height="20px"></iframe>
- <br />
- <br />
+ <br>
+ <br>
© 2012 <b>Sina Samavati</b>
</p>
</footer>

0 comments on commit 8f97964

Please sign in to comment.