This is largely working, except when there is an in the header.
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
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'