summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreugene <eugene@eugene-MS-7060.(none)>2013-01-28 00:47:28 +0200
committerBen Longbons <b.r.longbons@gmail.com>2013-01-28 11:37:13 -0800
commit3915710b4e49f8151ce9f0ff6bfd2dea70a5ec26 (patch)
tree73c9efd610a775cfb907d10f4a944ff0c3602772
parent4b28b4d05647e2846e1260bb221c6de80a675cfa (diff)
downloadserverdata-3915710b4e49f8151ce9f0ff6bfd2dea70a5ec26.tar.gz
serverdata-3915710b4e49f8151ce9f0ff6bfd2dea70a5ec26.tar.bz2
serverdata-3915710b4e49f8151ce9f0ff6bfd2dea70a5ec26.tar.xz
serverdata-3915710b4e49f8151ce9f0ff6bfd2dea70a5ec26.zip
improve HTML news
-rwxr-xr-xtools/news.py2
-rw-r--r--world/map/news.html3
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/news.py b/tools/news.py
index 53350ace..6f695eca 100755
--- a/tools/news.py
+++ b/tools/news.py
@@ -55,7 +55,7 @@ class HtmlWriter(BasicWriter):
pass
def put(self, entry):
- self.stream.write('<div>\n')
+ self.stream.write('<div>\n<p/>\n')
entry = entry.replace('\n\n', '\n<p/>\n')
entry = entry.format(**colors.make_html_colors_dict())
self.stream.write(entry)
diff --git a/world/map/news.html b/world/map/news.html
index c8fd4776..fa355a6a 100644
--- a/world/map/news.html
+++ b/world/map/news.html
@@ -1,5 +1,6 @@
<!-- Generated by tools/news.py for index.php -->
<div>
+<p/>
<font color="#0000ff">2013-01-26</font>
<p/>
Content Release January 2013
@@ -18,6 +19,7 @@ lamps in his room wear off after a while.
-<font color="#009000">Jenalya</font>
</div>
<div>
+<p/>
<font color="#0000ff">2013-01-23</font>
<p/>
News feed is finally generated from the same
@@ -26,6 +28,7 @@ source for both the game and the website.
-<font color="#009000">o11c</font>
</div>
<div>
+<p/>
<font color="#0000ff">December 2012 again</font>
<p/>
A new peninsula has magically raised from the depths,