02e85dc2d1de — Sean Russell 12 years ago
Fixes failure to convert string to number in call to toc()
1 files changed, 1 insertions(+), 1 deletions(-)

M output.rb
M output.rb +1 -1
@@ 79,7 79,7 @@ module RML
 			when "glossary"
 				glossary()
 			when "toc"
-				toc(attrs[:value] || 99)
+				toc(attrs[:value].to_i || 99)
 			when "acronyms"
 				acronyms()
 			else