Skip to content

Detail tags not hiding tables and flowcharts etc as expected #2458

@graemearthur

Description

@graemearthur

image

Current behavior

Does not show Tables or flowcharts or code blocks inside of <details> tags either shows them outside of the collabsable bit or if you leave no free line just shows the RAW text instead

Expected behavior

I expected code blocks and tables to be able to be hidden inside of collapsible such as happens on github and other places (text can be hidden but tables and code blocks can not)
example from github https://gist.github.com/joyrexus/16041f2426450e73f5df9391f7f7ae5f

Steps to reproduce

  1. Make new markdown note
  2. paste in the following lines (have put in code block so github shows this correctly)
## yes, even hidden code blocks!
  
  | TYPE        | LINUX           |Windows|
| ------------- |:-------------:| -----:|
| Dell | This is a test | Test |
| HP   | Test |   Still testing |
</details>
  1. change to viewing mode to see the table is not hidden

Environment

Not tested in other OS's

  • Version : Boostnote 0.11.9
  • OS Version and name : Ubuntu 16.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions