Add test for "replace double-underscores with space in Org TODO kwd"

Feature was added in
https://github.com/kaushalmodi/ox-hugo/commit/7691f0453b.
master
Kaushal Modi 8 years ago
parent a5f4359280
commit 17560ce15b
  1. 13
      test/site/content-org/all-posts.org
  2. 14
      test/site/content/posts/org-todo-kwd-with-double-underscores.md

@ -1,5 +1,8 @@
#+hugo_base_dir: ../
#+seq_todo: TODO DRAFT DONE
#+seq_todo: TEST__TODO | TEST__DONE
#+property: header-args :eval no
#+startup: indent
@ -3780,6 +3783,16 @@ Some text.
*** DONE Heading 2
CLOSED: [2017-08-09 Wed 16:15]
Some text.
** Org TODO keywords with double-underscores :double_underscores:space:
:PROPERTIES:
:EXPORT_FILE_NAME: org-todo-kwd-with-double-underscores
:END:
#+begin_description
This feature that replaces double-underscores in Org TODO keywords
with spaces was added in {{{commit(7691f0453b)}}}.
#+end_description
*** TEST__TODO This heading's TODO kwd should read as "TEST TODO"
*** TEST__DONE This heading's TODO kwd should read as "TEST DONE"
* Level Offset :level_offset:
** Default level offset
:PROPERTIES:

@ -0,0 +1,14 @@
+++
title = "Org TODO keywords with double-underscores"
description = """
This feature that replaces double-underscores in Org TODO keywords
with spaces was added in commit [7691f0453b](https://github.com/kaushalmodi/ox-hugo/commit/7691f0453b).
"""
tags = ["todo", "double-underscores", "space"]
draft = false
+++
## <span class="org-todo todo TEST__TODO">TEST TODO</span> This heading's TODO kwd should read as "TEST TODO" {#this-heading-s-todo-kwd-should-read-as-test-todo}
## <span class="org-todo done TEST__DONE">TEST DONE</span> This heading's TODO kwd should read as "TEST DONE" {#this-heading-s-todo-kwd-should-read-as-test-done}
Loading…
Cancel
Save