[TW5] Broken code block word wrapping in transcluded tiddler with vertical tabs.

22 views
Skip to first unread message

Jeff Vance

unread,
Feb 27, 2017, 11:40:47 AM2/27/17
to TiddlyWiki
By chance, I found a specific scenario that seems to break word-wrapping when transcluding tiddlers into tabs.  I wonder if this is a TW bug. It specifically happens with a code-block that contains long dashed lines.   It's very easy to recreate with the following:

1. Create a tiddler with a single code block like this:

```
------------------------------------------------------------------------------------------
```



2. Transclude that tiddler into a tab (must be vertical)

<$macrocall $name="tabs"
  tabsList="[title[TEST TIDDLER]]"
  state="$:/state/test"
  class="tc-vertical"
/>


Then select the tab, and shrink the browser width. The transcluded version does not word-wrap, but the original tiddler does!  Also, I noticed it only happens if the it is using class="tc-vertical".  When reverting to horizontal tabs, the word-wrap works!


It's not a huge deal since it's a fairly rare scenario, but I thought I should point it out. Maybe it's something someone would want to fix.
Reply all
Reply to author
Forward
0 new messages