File: githubtags.t

package info (click to toggle)
discount 2.2.7-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,004 kB
  • sloc: ansic: 5,707; pascal: 1,027; sh: 287; makefile: 208
file content (23 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
. tests/functions.sh

title "github tags"

rc=0
MARKDOWN_FLAGS=

SRC='<element-name>content</element-name>'

try 'github tags disabled by default' \
"$SRC" \
'<p>&lt;element-name>content&lt;/element-name></p>'

try -fgithubtags 'github tags' \
"$SRC" \
'<p><element-name>content</element-name></p>'

try 'normal tags pass through' \
'<a>sdf</a>' \
'<p><a>sdf</a></p>'

summary $0
exit $rc