go-org-orgwiki/org/testdata/misc.org
Niklas Fasching 4292628c80 Fix ExplicitLineBreak parsing
fuzzed index out of range and moved range check into for condition as \\
followed by spaces at the end of the inline text should not be turned into an
ExplicitLineBreak (just like \\ not followed by spaces).
2019-10-29 01:03:10 +01:00

5.1 KiB
Raw Blame History

issues from goorgeous (free test cases, yay!)

DONE #19: Support #+HTML

neato!

DONE #29: Support verse block

This is verse

or even a totally custom kind of block crazy ain't it?

DONE #30: Support #+SETUPFILE

see ./headlines.org

DONE #31: Support #+INCLUDE

Note that only src/example/export block inclusion is supported for now. There's quite a lot more to include (see the org manual for include files) but I don't have a use case for this yet and stuff like namespacing footnotes of included files adds quite a bit of complexity.

for now files can be included as:

  • src block

  • export block

  • example block

DONE #33: Wrong output when mixing html with Org mode

foo foo
bar bar

DONE #41: Support Table Of Contents

DONE #46: Support for symbols like ndash and mdash

  • ndash
  • mdash —
  • ellipsis …
  • acute Á and so on
  • note that —— is replaced with 2 mdashes and …. becomes ellipsis+. and so on - that's how org also does it

DONE #47: Consecutive code wrapped text gets joined

either this or that foo. either this or that foo.

DONE #50: LineBreaks in lists are preserved

  • this list item has multiple linbreaks - but it's still just one paragraph (i.e. no line breaks are rendered)
  • foobar
  1. same goes for ordered lists
  2. foo

DONE #68: Quote block with inline markup

DONE #72: Support for #+ATTR_HTML

Go is fine though.

DONE #75: Not parsing nested lists correctly

  • bullet 1

    • sub bullet

DONE #77: Recognize code— as code plus dash

DONE #78: Emphasis at beginning of line

italics

Text italics

DONE #82: Crash on empty headline

just a space as title…

DONE #84: Paragraphs that are not followed by an empty line are not parsed correctly

Foo

Foo paragraph.

Bar

Bar paragraph

DONE #86: Multiple hyphens not converted to dashes

just like #46

  • -- -> (en dash)
  • --- -> — (em dash)

also, consecutive dashes inside

  • inline code -- --- and verbatim -- ---
  • src/example/export blocks should not be converted!

    --, ---
    --, ---
    
    --, ---
    --, ---
    

DONE #87: Markup in footnotes is rendered literally

footnotes can contain markup - and other elements and stuff 1 2

DONE #92: src blocks only render in caps

The behaviour of Org mode <s TAB changed and it now inserts lowercased src blocks (go-org already handled this one)

  • lowercased:

    uname -a
  • uppercased

    uname -a

issues (wrongly) filed with hugo

#3874 exporting images in org mode

Hello, I'm writing hugo blogs using org-mode.

When inserting an image link like /home/amos/Pictures/Screenshots/img-2017-09-11-165647.png, hugo doesn't export the image.

#4006 source code blocks in org not rendered correctly

(defun small-shell ()
  (interactive)
  (split-window-vertically)
  (other-window 1)
  (shrink-window (- (window-height) 12))
  (ansi-term))

misc fuzz / regression / edge case

index out of range in headline priority parsing

[#B

index out of range in explicit line break parsing

0\\

Footnotes


1

a footnote with markup

  • and a list
  • because that's possible
2

that also goes for inline footnote definitions