keep blank headers out of ToC

open
,
low
,  
 
  • View
  • Changes
  • Options
  • Related
  • Edit
  • This is largely working, except when there is an   in the header. 

     

  • View
  • Changes
  • Options
  • Related
  • Edit
  • 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

     

     

  • View
  • Changes
  • Options
  • Related
  • Edit
  • 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

     

    Related support tickets: 
    Relevant user stories: 
     add one

     

    Notes

    add a note

    try it

     

    wagneers

    intro

    videos

    features

    syntax

    weekly calls

    ideas

     

    twitter

    mailing list

     

    developers

    roadmap

    next release

    tickets

    pack API

    REST API

    one-pager

     

    github

    mailing list

     

    wagn.org

    recent

    todo