Fixed bug in render_text; replaced NewsGramplet with HeadlineNewsGramplet that reads a new wiki page every hour

svn: r11723
This commit is contained in:
Doug Blank
2009-01-25 20:08:57 +00:00
parent 1aaa2df5a4
commit ffc025aeca
2 changed files with 83 additions and 51 deletions

View File

@ -93,7 +93,7 @@ def parse_tag_attr(text):
if len(parts) == 2:
attr_values = parts[1].split(" ") # "name=value name=value"
for av in attr_values:
attribute, value = av.split("=")
attribute, value = av.split("=", 1)
value = value.strip()
# trim off quotes:
if value[0] == value[-1] and value[0] in ['"', "'"]: