close fullscreen

Ticket

keep blank headers out of ToC+status
open
help edit space_dashboard
keep blank headers out of ToC+priority
low
help edit space_dashboard
keep blank headers out of ToC+tag
table of contents
help edit space_dashboard
keep blank headers out of ToC+commit
 

keep blank headers out of ToC+issues

help edit space_dashboard

This is largely working, except when there is an   in the header. 

 

keep blank headers out of ToC+solution

help edit space_dashboard

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

 

 

keep blank headers out of ToC+example

help edit space_dashboard

for testing: 

 

if tocs are on  (*all+*toc = 1) and you create a card with :content=>'<h2>&nbsp;</h2>', you should NOT see 'Table of Contents'

 

See http://test.dwagn.org/wagn/forcing_toc_here

 

 

keep blank headers out of ToC+discussed in support tickets

help edit space_dashboard