Verbatim and Indented paragraphs need empty line around the block - breaks WYSIWYG
Bug #297932 reported by
Simon
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
High
|
Unassigned |
Bug Description
It seems that Verbatim blocks only work when there is a clear line above the initial ''' syntax. After thinking about it for a while, I couldn't think of a good reason why, so I made a patch to change the behaviour. I'm not a Perl coder, so I daresay there are more elegant ways to achieve this, but this seems to work okay. If this is intended behaviour, and I've overlooked some pitfall or another, I'd be grateful to know about it.
Thanks!
Related branches
lp:~fmos/zim/bugfixes
- Jaap Karssenberg: Pending requested
-
Diff: 66 lines (+34/-2)3 files modifiedtests/data/notebook-wiki.xml (+4/-0)
tests/gui.py (+26/-1)
zim/gui/pageindex.py (+4/-1)
Changed in zim: | |
importance: | Undecided → Low |
status: | Incomplete → Triaged |
Changed in zim: | |
status: | Fix Released → Confirmed |
To post a comment you must log in.
No direct example where this can go wrong but requiring the empty line makes it less likely to have conflicts with code snippets in the page. Since these blocks are always treated as paragraphs it feels logical to me to have empty lines surrounding them.