summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--activity.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/activity.lua b/activity.lua
index e0f6c07..398d2e8 100644
--- a/activity.lua
+++ b/activity.lua
@@ -34,7 +34,7 @@ function generate_rolling (lookup, format, date)
end
for index, weekday in pairs(weekdays) do
- rows = rows .. format.label(weekday)
+ rows = rows .. format.start_row() .. format.label(weekday)
for week=0,51 do
rows = rows .. format.cell(level(lookup(year_and_day(52 - week, index))))
end
@@ -43,7 +43,7 @@ function generate_rolling (lookup, format, date)
else
rows = rows .. format.spot()
end
- rows = rows .. "\n"
+ rows = rows .. format.end_row()
end
return format.start_document"Activity" .. format.start_table() .. rows .. format.end_table() .. format.end_document()
end