keep blank headers out of ToC
Ticket
+status
+priority
+tag
+commit
+issues
This is largely working, except when there is an in the header.
+solution
I had tried changing basic.rb
from value = ActionView::Base.new.strip_tags(value).strip
to value = ActionView::Base.new.strip_tags(value).gsub(' ',' ').strip
but was getting some nutso errors. could be a setup issue. was having caching problems. -e
+example
for testing:
if tocs are on (*all+*toc = 1) and you create a card with :content=>'<h2> </h2>', you should NOT see 'Table of Contents'