{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/r-b-build.hltRVo1G/b1/htp_1.19-8_amd64.changes", "source2": "/srv/reproducible-results/rbuild-debian/r-b-build.hltRVo1G/b2/htp_1.19-8_amd64.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,3 +1,3 @@\n \n 96c6f2fc18e863ab2764332660fa0b51 71076 debug optional htp-dbgsym_1.19-8_amd64.deb\n- ffb80603e289da3c4cb85d961e6f1dee 116392 web optional htp_1.19-8_amd64.deb\n+ 146dd4b7eb025091e27de3aa4aaf6518 116876 web optional htp_1.19-8_amd64.deb\n"}, {"source1": "htp_1.19-8_amd64.deb", "source2": "htp_1.19-8_amd64.deb", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -1,3 +1,3 @@\n -rw-r--r-- 0 0 0 4 2020-06-14 23:21:19.000000 debian-binary\n--rw-r--r-- 0 0 0 3608 2020-06-14 23:21:19.000000 control.tar.xz\n--rw-r--r-- 0 0 0 112592 2020-06-14 23:21:19.000000 data.tar.xz\n+-rw-r--r-- 0 0 0 3620 2020-06-14 23:21:19.000000 control.tar.xz\n+-rw-r--r-- 0 0 0 113064 2020-06-14 23:21:19.000000 data.tar.xz\n"}, {"source1": "control.tar.xz", "source2": "control.tar.xz", "unified_diff": null, "details": [{"source1": "control.tar", "source2": "control.tar", "unified_diff": null, "details": [{"source1": "./control", "source2": "./control", "unified_diff": "@@ -1,12 +1,12 @@\n Package: htp\n Version: 1.19-8\n Architecture: amd64\n Maintainer: Marcelo Soares Mota \n-Installed-Size: 629\n+Installed-Size: 641\n Depends: libc6 (>= 2.38)\n Section: web\n Priority: optional\n Homepage: http://htp.sourceforge.net\n Description: nice HTML pre-processor\n htp is an HTML pre-processor. It is designed to be a flexible authoring tool\n that can easily be integrated into the HTML design process.\n"}, {"source1": "./md5sums", "source2": "./md5sums", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "comments": ["Files differ"], "unified_diff": null}]}]}]}, {"source1": "data.tar.xz", "source2": "data.tar.xz", "unified_diff": null, "details": [{"source1": "data.tar", "source2": "data.tar", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -5,23 +5,23 @@\n drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/\n drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/\n drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/\n -rw-r--r-- 0 root (0) root (0) 8180 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/alttext.html\n -rw-r--r-- 0 root (0) root (0) 1418 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/alttext.htp\n -rw-r--r-- 0 root (0) root (0) 7882 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/block.html\n -rw-r--r-- 0 root (0) root (0) 781 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/block.htp\n--rw-r--r-- 0 root (0) root (0) 8225 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/blockdef.html\n+-rw-r--r-- 0 root (0) root (0) 7941 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/blockdef.html\n -rw-r--r-- 0 root (0) root (0) 1075 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/blockdef.htp\n -rw-r--r-- 0 root (0) root (0) 4763 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/bugs.html\n -rw-r--r-- 0 root (0) root (0) 737 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/bugs.htp\n -rw-r--r-- 0 root (0) root (0) 878 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/changelog.Debian.gz\n--rw-r--r-- 0 root (0) root (0) 8300 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/comment.html\n+-rw-r--r-- 0 root (0) root (0) 9733 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/comment.html\n -rw-r--r-- 0 root (0) root (0) 676 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/comment.htp\n -rw-r--r-- 0 root (0) root (0) 13083 2020-06-14 23:16:46.000000 ./usr/share/doc/htp/copyright\n--rw-r--r-- 0 root (0) root (0) 11636 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/def.html\n+-rw-r--r-- 0 root (0) root (0) 11490 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/def.html\n -rw-r--r-- 0 root (0) root (0) 3601 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/def.htp\n -rw-r--r-- 0 root (0) root (0) 8030 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/default.html\n -rw-r--r-- 0 root (0) root (0) 3149 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/default.htp\n drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/examples/\n -rw-r--r-- 0 root (0) root (0) 536 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/Makefile.sub\n -rw-r--r-- 0 root (0) root (0) 2404 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/album.hti\n -rw-r--r-- 0 root (0) root (0) 1087 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/album.htt\n@@ -32,45 +32,45 @@\n -rw-r--r-- 0 root (0) root (0) 818 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/prime.htp\n -rw-r--r-- 0 root (0) root (0) 1576 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/examples/quine.html\n -rw-r--r-- 0 root (0) root (0) 1576 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/quine.htp\n -rw-r--r-- 0 root (0) root (0) 604 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/section.def\n -rw-r--r-- 0 root (0) root (0) 1189 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/examples/section.html\n -rw-r--r-- 0 root (0) root (0) 918 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/section.htp\n -rw-r--r-- 0 root (0) root (0) 375 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/section.htt\n--rw-r--r-- 0 root (0) root (0) 8490 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/expand.html\n+-rw-r--r-- 0 root (0) root (0) 7909 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/expand.html\n -rw-r--r-- 0 root (0) root (0) 3702 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/expand.htp\n--rw-r--r-- 0 root (0) root (0) 14743 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/file.html\n+-rw-r--r-- 0 root (0) root (0) 12933 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/file.html\n -rw-r--r-- 0 root (0) root (0) 2490 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/file.htp.gz\n -rw-r--r-- 0 root (0) root (0) 14293 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/history.html\n -rw-r--r-- 0 root (0) root (0) 3946 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/history.htp.gz\n -rw-r--r-- 0 root (0) root (0) 3911 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/hlhtp.pl\n -rw-r--r-- 0 root (0) root (0) 165 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/htp.def\n -rw-r--r-- 0 root (0) root (0) 4049 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/htp.htt\n--rw-r--r-- 0 root (0) root (0) 9188 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/if.html\n+-rw-r--r-- 0 root (0) root (0) 11973 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/if.html\n -rw-r--r-- 0 root (0) root (0) 932 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/if.htp\n--rw-r--r-- 0 root (0) root (0) 9082 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/imageurl.html\n+-rw-r--r-- 0 root (0) root (0) 8950 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/imageurl.html\n -rw-r--r-- 0 root (0) root (0) 2507 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/imageurl.htp\n--rw-r--r-- 0 root (0) root (0) 8733 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/img.html\n+-rw-r--r-- 0 root (0) root (0) 8277 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/img.html\n -rw-r--r-- 0 root (0) root (0) 1168 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/img.htp\n--rw-r--r-- 0 root (0) root (0) 8598 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/inc.html\n+-rw-r--r-- 0 root (0) root (0) 8142 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/inc.html\n -rw-r--r-- 0 root (0) root (0) 1092 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/inc.htp\n -rw-r--r-- 0 root (0) root (0) 9881 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/include.html\n -rw-r--r-- 0 root (0) root (0) 1894 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/include.htp\n -rw-r--r-- 0 root (0) root (0) 4874 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/index.html\n -rw-r--r-- 0 root (0) root (0) 78 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/index.htp\n -rw-r--r-- 0 root (0) root (0) 7733 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/intro.html\n -rw-r--r-- 0 root (0) root (0) 3489 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/intro.htp\n -rw-r--r-- 0 root (0) root (0) 10774 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/license.html\n -rw-r--r-- 0 root (0) root (0) 454 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/license.htp\n -rw-r--r-- 0 root (0) root (0) 3782 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/macros.def\n -rw-r--r-- 0 root (0) root (0) 5088 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/macros.html\n -rw-r--r-- 0 root (0) root (0) 388 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/macros.htp\n--rw-r--r-- 0 root (0) root (0) 14256 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/metatag.html\n+-rw-r--r-- 0 root (0) root (0) 18082 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/metatag.html\n -rw-r--r-- 0 root (0) root (0) 2439 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/metatag.htp.gz\n--rw-r--r-- 0 root (0) root (0) 8454 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/opt.html\n+-rw-r--r-- 0 root (0) root (0) 8624 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/opt.html\n -rw-r--r-- 0 root (0) root (0) 608 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/opt.htp\n -rw-r--r-- 0 root (0) root (0) 7809 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/options.html\n -rw-r--r-- 0 root (0) root (0) 3100 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/options.htp\n -rw-r--r-- 0 root (0) root (0) 7777 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/output.html\n -rw-r--r-- 0 root (0) root (0) 695 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/output.htp\n drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/\n -rw-r--r-- 0 root (0) root (0) 171 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/arrow.png\n@@ -81,15 +81,15 @@\n -rw-r--r-- 0 root (0) root (0) 491 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/manual.png\n -rw-r--r-- 0 root (0) root (0) 1313 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/poweredbyhtp.png\n -rw-r--r-- 0 root (0) root (0) 679 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/sficon.png\n -rw-r--r-- 0 root (0) root (0) 492 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/source.png\n -rw-r--r-- 0 root (0) root (0) 523 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pphtp.pl\n -rw-r--r-- 0 root (0) root (0) 7503 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/quote.html\n -rw-r--r-- 0 root (0) root (0) 390 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/quote.htp\n--rw-r--r-- 0 root (0) root (0) 8234 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/set.html\n+-rw-r--r-- 0 root (0) root (0) 12003 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/set.html\n -rw-r--r-- 0 root (0) root (0) 1200 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/set.htp\n -rw-r--r-- 0 root (0) root (0) 500 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/styles.css\n -rw-r--r-- 0 root (0) root (0) 27219 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/template.html\n -rw-r--r-- 0 root (0) root (0) 2235 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/template.htp.gz\n -rw-r--r-- 0 root (0) root (0) 1914 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/toc.def\n drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/\n -rw-r--r-- 0 root (0) root (0) 146 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/footer.hti\n@@ -104,21 +104,21 @@\n -rw-r--r-- 0 root (0) root (0) 191 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut3.htp\n -rw-r--r-- 0 root (0) root (0) 356 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut3.htt\n -rw-r--r-- 0 root (0) root (0) 297 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut4.htt\n -rw-r--r-- 0 root (0) root (0) 10517 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tutorial.html\n -rw-r--r-- 0 root (0) root (0) 3393 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tutorial.htp\n -rw-r--r-- 0 root (0) root (0) 7559 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/undef.html\n -rw-r--r-- 0 root (0) root (0) 460 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/undef.htp\n--rw-r--r-- 0 root (0) root (0) 9372 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/unset.html\n+-rw-r--r-- 0 root (0) root (0) 12660 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/unset.html\n -rw-r--r-- 0 root (0) root (0) 658 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/unset.htp\n -rw-r--r-- 0 root (0) root (0) 7681 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/usage.html\n -rw-r--r-- 0 root (0) root (0) 2959 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/usage.htp\n--rw-r--r-- 0 root (0) root (0) 13526 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/use.html\n+-rw-r--r-- 0 root (0) root (0) 12664 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/use.html\n -rw-r--r-- 0 root (0) root (0) 3300 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/use.htp\n--rw-r--r-- 0 root (0) root (0) 9106 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/while.html\n+-rw-r--r-- 0 root (0) root (0) 12635 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/while.html\n -rw-r--r-- 0 root (0) root (0) 938 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/while.htp\n -rw-r--r-- 0 root (0) root (0) 5288 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/wishlist.html\n -rw-r--r-- 0 root (0) root (0) 1311 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/wishlist.htp\n drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc-base/\n -rw-r--r-- 0 root (0) root (0) 235 2020-06-14 17:36:12.000000 ./usr/share/doc-base/htp.htp\n drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/lintian/\n drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/lintian/overrides/\n"}, {"source1": "./usr/share/doc/htp/blockdef.html", "source2": "./usr/share/doc/htp/blockdef.html", "unified_diff": "@@ -124,15 +124,14 @@\n HREF=\"metatag.html\">metatags, which is a fancy way of saying it\n creates new block tags. A block tag is a tag that takes a whole block\n as additional parameter. This block is surrounded by <tagname> and\n </tagname>. The contents of this block are automatically stored\n in the block macro named BLOCK.\n

For example:

\n

\n-    <\"[ref]\"unset email_addr home_url login_name>
\n

\n

\n All block metatags have the implicit option EXPAND, which tells htp to expand the contents\n of the block before the definition is expanded.\n

\n

\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -6,20 +6,20 @@\n \u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl way of saying it creates new block tags. A block\n \u00a0 _\bU_\bs_\ba_\bg_\be tag is a tag that takes a whole block as additional\n \u00a0 HTP Tags parameter. This block is surrounded by \n \u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT and . The contents of this block are\n \u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK automatically stored in the block macro named\n \u00a0 [>] _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF BLOCK.\n \u00a0 \u00a0 _\bD_\bE_\bF For example:\n-\u00a0 \u00a0 _\bF_\bI_\bL_\bE \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt email_addr home_url login_name>\n-\u00a0 \u00a0 _\bI_\bF All block metatags have the implicit option _\bE_\bX_\bP_\bA_\bN_\bD,\n-\u00a0 \u00a0 _\bI_\bN_\bC which tells htp to expand the contents of the block\n-\u00a0 \u00a0 _\bI_\bM_\bG before the definition is expanded.\n-\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL A more thorough discussion and more elaborate\n-\u00a0 \u00a0 _\bO_\bP_\bT examples are discussed in the _\bm_\be_\bt_\ba_\bt_\ba_\bg section.\n+\u00a0 \u00a0 _\bF_\bI_\bL_\bE All block metatags have the implicit option _\bE_\bX_\bP_\bA_\bN_\bD,\n+\u00a0 \u00a0 _\bI_\bF which tells htp to expand the contents of the block\n+\u00a0 \u00a0 _\bI_\bN_\bC before the definition is expanded.\n+\u00a0 \u00a0 _\bI_\bM_\bG A more thorough discussion and more elaborate\n+\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL examples are discussed in the _\bm_\be_\bt_\ba_\bt_\ba_\bg section.\n+\u00a0 \u00a0 _\bO_\bP_\bT\n \u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT\n \u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE\n \u00a0 \u00a0 _\bS_\bE_\bT\n \u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF\n \u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT\n \u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$\n \u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE\n@@ -30,15 +30,14 @@\n \n \n \n \n \n \n \n-\n \n \u00a0 _\bp_\ba_\bg_\be_\b _\bs_\bo_\bu_\br_\bc_\be\n \u00a0 _\bh_\bt_\bp_\b _\bp_\br_\bo_\bj_\be_\bc_\bt\n \u00a0 _\bh_\bt_\bp_\b _\bh_\bo_\bm_\be_\bp_\ba_\bg_\be\n hosted by\n _\bS_\bo_\bu_\br_\bc_\be_\bf_\bo_\br_\bg_\be\n HTML coding_\b[_\bP_\bo_\bw_\be_\br_\be_\bd_\b _\bb_\by\n"}]}, {"source1": "./usr/share/doc/htp/comment.html", "source2": "./usr/share/doc/htp/comment.html", "unified_diff": "@@ -114,33 +114,40 @@\n Bugs\n \n \n \n \n

syntax

\n

\n+  <\"[ref]\"blockdef name=\"section\" option=\"title\">
\n+   <h1><\"[ref]\"use title></h1>
\n+   <p class=\"section\">
\n+     <\"[ref]\"use block>
\n+   </p>
\n+  <\"[ref]\"/blockdef>
\n+
\n+  <section title=\"My Section\">
\n+    This is a fancy section.
\n+  </section>
\n

\n

synopsis

\n

\n This is a simple comment that is not included in the output. This is useful\n when commenting metatags, since the metatags do not appear the output either.\n Example:\n

\n

\n+    <EM>File \"<\"[ref]\"FILE NAME>\" last updated <\"[ref]\"FILE TIME>, <\"[ref]\"FILE DATE></EM>
\n

\n

\n Note that these comments should not include < or >, that is you\n should not use it to comment out htp code. For that purpose use something\n like this:\n

\n

\n-  <\"[ref]\"WHILE sect-$i>
\n-    ...
\n-    <\"[ref]\"INC i>
\n-  <\"[ref]\"/WHILE>
\n

\n

Make sure that the variable is never defined and xyz should be the\n reason why you don't want to include this block

\n

\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,43 +1,51 @@\n [HTP]\n *\b**\b**\b**\b**\b**\b* h\bht\btp\bp o\bon\bn-\b-l\bli\bin\bne\be r\bre\bef\bfe\ber\bre\ben\bnc\bce\be :\b: <\b,\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK that is you should not use it to comment out htp\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF code. For that purpose use something like this:\n-\u00a0 \u00a0 _\bD_\bE_\bF \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE sect-$i>\n-\u00a0 \u00a0 _\bF_\bI_\bL_\bE \u00a0 \u00a0 ...\n-\u00a0 \u00a0 _\bI_\bF \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bN_\bC i>\n-\u00a0 \u00a0 _\bI_\bN_\bC \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n-\u00a0 \u00a0 _\bI_\bM_\bG Make sure that the variable is never defined and\n-\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL xyz should be the reason why you don't want to\n-\u00a0 \u00a0 _\bO_\bP_\bT include this block\n-\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT\n-\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE\n-\u00a0 \u00a0 _\bS_\bE_\bT\n-\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF\n-\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT\n-\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$\n-\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE\n-\u00a0 [>] _\b<_\b!_\b-_\b-_\b-\n+\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bb_\bl_\bo_\bc_\bk_\bd_\be_\bf name=\"section\" option=\"title\">\n+\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be \u00a0 \u00a0

<_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bs_\be title>

\n+\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl \u00a0 \u00a0

\n+\u00a0 _\bU_\bs_\ba_\bg_\be \u00a0 \u00a0 \u00a0<_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bs_\be block>\n+\u00a0 HTP Tags \u00a0 \u00a0

\n+\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bb_\bl_\bo_\bc_\bk_\bd_\be_\bf>\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF \u00a0
\n+\u00a0 \u00a0 _\bD_\bE_\bF \u00a0 \u00a0 This is a fancy section.\n+\u00a0 \u00a0 _\bF_\bI_\bL_\bE \u00a0
\n+\u00a0 \u00a0 _\bI_\bF *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n+\u00a0 \u00a0 _\bI_\bN_\bC This is a simple comment that is not included in\n+\u00a0 \u00a0 _\bI_\bM_\bG the output. This is useful when commenting\n+\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL metatags, since the metatags do not appear the\n+\u00a0 \u00a0 _\bO_\bP_\bT output either. Example:\n+\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT \u00a0 \u00a0 File \"<_\b[_\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE NAME>\" last updated <_\b[\n+\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE _\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE TIME>, <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE DATE>\n+\u00a0 \u00a0 _\bS_\bE_\bT Note that these comments should not include < or >,\n+\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF that is you should not use it to comment out htp\n+\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT code. For that purpose use something like this:\n+\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ Make sure that the variable is never defined and\n+\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE xyz should be the reason why you don't want to\n+\u00a0 [>] _\b<_\b!_\b-_\b-_\b- include this block\n \u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by\n \u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt\n \u00a0 _\bB_\bu_\bg_\bs\n \n \n \n \n \n \n \n+\n+\n+\n+\n+\n+\n+\n+\n \n \n \u00a0 _\bp_\ba_\bg_\be_\b _\bs_\bo_\bu_\br_\bc_\be\n \u00a0 _\bh_\bt_\bp_\b _\bp_\br_\bo_\bj_\be_\bc_\bt\n \u00a0 _\bh_\bt_\bp_\b _\bh_\bo_\bm_\be_\bp_\ba_\bg_\be\n hosted by\n _\bS_\bo_\bu_\br_\bc_\be_\bf_\bo_\br_\bg_\be\n"}]}, {"source1": "./usr/share/doc/htp/def.html", "source2": "./usr/share/doc/htp/def.html", "unified_diff": "@@ -133,33 +133,31 @@\n Some metatags will require an opening and closing tag (comparable to\n and ). In this case, you should use the BLOCKDEF macro. Another slightly faster\n alternative is to use two metatags, the opening tag and the closing\n tag with a preceding slash. For example:\n

\n

\n+<\"[ref]\"if disabled_because_xyz>
\n+  ...
\n+<\"[ref]\"/if>
\n+if\" SIZE=KBYTE> kilobytes
\n+    Last modified <\"[ref]\"FILE NAME=\"image.gif\" TIME>, <\"[ref]\"FILE NAME=\"image.gif\" DATE>
\n

\n

You should really use BLOCKDEF, though,\n as it will check for matching end tag. It is not that slower.

\n

\n Options can be passed to a metatag, which can then expand as if it were\n a SET macro. Option names are parameterized with\n the OPTION attribute. Multiple options can be listed by separating their\n name with a space (which therefore requires they be surrounded by quotes.)\n

\n

\n-  <\"[ref]\"WHILE sect-$i>
\n-    ...
\n-    <\"[ref]\"INC i>
\n-  <\"[ref]\"/WHILE>
\n-    <\"[ref]\"inc sect-ctr>
\n-    <\"[ref]\"block name=\"sect-${sect-ctr}\" expand global>
\n-      <\"[ref]\"use block noexpand>
\n-    <\"[ref]\"/block>
\n-  <\"[ref]\"/blockdef>
\n+    <\"[ref]\"FILE INCLUDE=\"include.hti\" name=\"Jim Nelson\" email=\"jnelson@crl.com\">
\n+    This tag will fail: <\"[ref]\"USE name>
\n

\n

\n htp will do very specific checking of parameters when a metatag is\n invoked. htp assumes that all parameter options to the metatag are\n optional. This is why the HEADERIMG definition uses IF to verify the\n SIZE option is defined before expanding it in the block. If a\n parameter is required, simply expand it without first checking. When\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -10,32 +10,31 @@\n \u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK Some metatags will require an opening and closing\n \u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF tag (comparable to\n \u00a0 [>] _\bD_\bE_\bF and\n \u00a0 \u00a0 _\bF_\bI_\bL_\bE ). In this case, you should use the _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF macro.\n \u00a0 \u00a0 _\bI_\bF Another slightly faster alternative is to use two\n \u00a0 \u00a0 _\bI_\bN_\bC metatags, the opening tag and the closing tag with\n \u00a0 \u00a0 _\bI_\bM_\bG a preceding slash. For example:\n-\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL You should really use _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF, though, as it will\n-\u00a0 \u00a0 _\bO_\bP_\bT check for matching end tag. It is not that slower.\n-\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT Options can be passed to a metatag, which can then\n-\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE expand as if it were a _\bS_\bE_\bT macro. Option names are\n-\u00a0 \u00a0 _\bS_\bE_\bT parameterized with the OPTION attribute. Multiple\n-\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF options can be listed by separating their name with\n-\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT a space (which therefore requires they be\n-\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ surrounded by quotes.)\n-\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE sect-$i>\n-\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- \u00a0 \u00a0 ...\n-\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bN_\bC i>\n-\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n-\u00a0 _\bB_\bu_\bg_\bs \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bi_\bn_\bc sect-ctr>\n- \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bb_\bl_\bo_\bc_\bk name=\"sect-${sect-ctr}\" expand\n- global>\n- \u00a0 \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bs_\be block noexpand>\n- \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bb_\bl_\bo_\bc_\bk>\n- \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bb_\bl_\bo_\bc_\bk_\bd_\be_\bf>\n+\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bi_\bf disabled_because_xyz>\n+\u00a0 \u00a0 _\bO_\bP_\bT \u00a0 ...\n+\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bi_\bf>\n+\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE if\" SIZE=KBYTE> kilobytes\n+\u00a0 \u00a0 _\bS_\bE_\bT \u00a0 \u00a0 Last modified <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE NAME=\"image.gif\"\n+\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF TIME>, <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE NAME=\"image.gif\" DATE>\n+\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT You should really use _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF, though, as it will\n+\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ check for matching end tag. It is not that slower.\n+\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE Options can be passed to a metatag, which can then\n+\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- expand as if it were a _\bS_\bE_\bT macro. Option names are\n+\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by parameterized with the OPTION attribute. Multiple\n+\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt options can be listed by separating their name with\n+\u00a0 _\bB_\bu_\bg_\bs a space (which therefore requires they be\n+ surrounded by quotes.)\n+ \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE INCLUDE=\"include.hti\" name=\"Jim\n+ Nelson\" email=\"jnelson@crl.com\">\n+ \u00a0 \u00a0 This tag will fail: <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bU_\bS_\bE name>\n htp will do very specific checking of parameters\n when a metatag is invoked. htp assumes that all\n parameter options to the metatag are optional. This\n is why the HEADERIMG definition uses IF to verify\n the SIZE option is defined before expanding it in\n the block. If a parameter is required, simply\n expand it without first checking. When htp expands\n"}]}, {"source1": "./usr/share/doc/htp/expand.html", "source2": "./usr/share/doc/htp/expand.html", "unified_diff": "@@ -101,18 +101,14 @@\n another macro. This other macro may no longer have the correct value\n when the macro is expanded. Here is some code that demonstrate when\n the htp tags are expanded:

\n

\n

\n This produces the following:\n

\n-  <\"[ref]\"WHILE sect-$i>
\n-    ...
\n-    <\"[ref]\"INC i>
\n-  <\"[ref]\"/WHILE>
\n

\n

\n When block a and block b are defined in lines 2-7 the contents of a\n are taken literally, however, the contents for b are already expanded\n so the macro time is evaluated. So a is expanded when it\n is used, while the contents of b are already expanded.\n

\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -25,18 +25,14 @@\n modifier it is expanded immediately. This is useful\n if you want to store something in a block macro,\n that depends on the current value of another macro.\n This other macro may no longer have the correct\n value when the macro is expanded. Here is some code\n that demonstrate when the htp tags are expanded:\n This produces the following:\n- \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE sect-$i>\n- \u00a0 \u00a0 ...\n- \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bN_\bC i>\n- \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n When block a and block b are defined in lines 2-\n 7 the contents of a are taken literally, however,\n the contents for b are already expanded so the\n macro time is evaluated. So a is expanded when it\n is used, while the contents of b are already\n expanded.\n In line 10 and 12 the _\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bs_\be tag is used with\n"}]}, {"source1": "./usr/share/doc/htp/file.html", "source2": "./usr/share/doc/htp/file.html", "unified_diff": "@@ -114,17 +114,14 @@\n Bugs\n \n \n \n \n

syntax

\n

\n-<\"[ref]\"unset macroname>
\n-<\"[ref]\"unset macroname1 macroname2 ... >
\n-
\n

\n

synopsis

\n FILE has several optional parameters of differing purpose.\n The output file's name, the current date and time, and the contents of\n another file may be included. Another file's time, date, or size may be\n added to the output file as well.\n

\n@@ -135,18 +132,19 @@\n

\n

NAME, TIME, SIZE

\n

\n To include information about another file, such as an archive file or\n graphic image, specify its name with the NAME attribute followed by the\n type of information to be displayed:\n

\n-  <\"[ref]\"WHILE sect-$i>
\n-    ...
\n-    <\"[ref]\"INC i>
\n-  <\"[ref]\"/WHILE>
\n+<a href=\"mailto:$email\">mailto hyperlink</a>
\n+<a href=\"http://$domain/~${username}/\">another hyperlink</a>
\n+f>
\n+
\n+  <sharedimg name=\"bubble.gif\" alt=\"Bubble image\">
\n

\n

\n For file size information, the value BYTE, KBYTE, etc. dictates how the\n information is displayed. In anything other than byte format, the information\n is displayed in floating-point notation. The amount of precision (the number\n of digits to the right of the decimal point) can be set with the optional\n PRECISION attribute. The default precision is zero (0), which means no\n@@ -175,21 +173,14 @@\n

\n Additional parameters can be set in the FILE INCLUDE tag, which are\n interpreted as macros that are \"passed\" to the included file. The macros\n are available only to the include file (and any macros or included files it\n holds). After the file is completely included, the macros are no longer\n available. So:\n

\n-<\"[ref]\"file include=\"header.hti\">
\n-  <\"[ref]\"set sect-ctr=\"1\">
\n-  <\"[ref]\"while sect-${sect-ctr}>
\n-    <\"[ref]\"use sect-${sect-ctr}>
\n-    <\"[ref]\"inc sect-ctr>
\n-  <\"[ref]\"/while>
\n-<\"[ref]\"file include=\"footer.hti\">
\n

\n

\n Macros named \"name\" and \"email\" are set, and available inside the included\n file. They are not available, however, past the tag (which is why the\n second statement will fail.)\n

\n

TEMPLATE

\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,37 +1,36 @@\n [HTP]\n *\b**\b**\b**\b**\b**\b* h\bht\btp\bp o\bon\bn-\b-l\bli\bin\bne\be r\bre\bef\bfe\ber\bre\ben\bnc\bce\be :\b: F\bFI\bIL\bLE\bE *\b**\b**\b**\b**\b**\b*\n _\bT_\ba_\bb_\bl_\be_\b _\bo_\bf_\b _\bC_\bo_\bn_\bt_\be_\bn_\bt_\bs *\b**\b**\b**\b**\b* s\bsy\byn\bnt\bta\bax\bx *\b**\b**\b**\b**\b*\n-\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt macroname>\n-\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt macroname1 macroname2 ... >\n-\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl\n-\u00a0 _\bU_\bs_\ba_\bg_\be *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n-\u00a0 HTP Tags F\bFI\bIL\bLE\bE has several optional parameters of differing\n-\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT purpose. The output file's name, the current date\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK and time, and the contents of another file may be\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF included. Another file's time, date, or size may be\n-\u00a0 \u00a0 _\bD_\bE_\bF added to the output file as well.\n-\u00a0 [>] _\bF_\bI_\bL_\bE As with all HTML, these tags do not have to be on\n-\u00a0 \u00a0 _\bI_\bF their own line, so the following is perfectly\n-\u00a0 \u00a0 _\bI_\bN_\bC acceptable:\n-\u00a0 \u00a0 _\bI_\bM_\bG *\b**\b**\b**\b* N\bNA\bAM\bME\bE,\b, T\bTI\bIM\bME\bE,\b, S\bSI\bIZ\bZE\bE *\b**\b**\b**\b*\n-\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL To include information about another file, such as\n-\u00a0 \u00a0 _\bO_\bP_\bT an archive file or graphic image, specify its name\n-\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT with the NAME attribute followed by the type of\n-\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE information to be displayed:\n-\u00a0 \u00a0 _\bS_\bE_\bT \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE sect-$i>\n-\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF \u00a0 \u00a0 ...\n-\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bN_\bC i>\n-\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n-\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE For file size information, the value BYTE, KBYTE,\n-\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- etc. dictates how the information is displayed. In\n-\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by anything other than byte format, the information is\n-\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt displayed in floating-point notation. The amount of\n-\u00a0 _\bB_\bu_\bg_\bs precision (the number of digits to the right of the\n- decimal point) can be set with the optional\n+\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n+\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be F\bFI\bIL\bLE\bE has several optional parameters of differing\n+\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl purpose. The output file's name, the current date\n+\u00a0 _\bU_\bs_\ba_\bg_\be and time, and the contents of another file may be\n+\u00a0 HTP Tags included. Another file's time, date, or size may be\n+\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT added to the output file as well.\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK As with all HTML, these tags do not have to be on\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF their own line, so the following is perfectly\n+\u00a0 \u00a0 _\bD_\bE_\bF acceptable:\n+\u00a0 [>] _\bF_\bI_\bL_\bE *\b**\b**\b**\b* N\bNA\bAM\bME\bE,\b, T\bTI\bIM\bME\bE,\b, S\bSI\bIZ\bZE\bE *\b**\b**\b**\b*\n+\u00a0 \u00a0 _\bI_\bF To include information about another file, such as\n+\u00a0 \u00a0 _\bI_\bN_\bC an archive file or graphic image, specify its name\n+\u00a0 \u00a0 _\bI_\bM_\bG with the NAME attribute followed by the type of\n+\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL information to be displayed:\n+\u00a0 \u00a0 _\bO_\bP_\bT mailto hyperlink\n+\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT another\n+\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE hyperlink\n+\u00a0 \u00a0 _\bS_\bE_\bT f>\n+\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF\n+\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT \u00a0 \n+\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ For file size information, the value BYTE, KBYTE,\n+\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE etc. dictates how the information is displayed. In\n+\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- anything other than byte format, the information is\n+\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by displayed in floating-point notation. The amount of\n+\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt precision (the number of digits to the right of the\n+\u00a0 _\bB_\bu_\bg_\bs decimal point) can be set with the optional\n PRECISION attribute. The default precision is zero\n (0), which means no fractional portion is\n displayed.\n At the request of many people, the TIME and DATE\n attributes will now accept formatting characters\n that are passed directly into the ANSI C library\n function. This allows for the time and date to be\n@@ -56,21 +55,14 @@\n Additional parameters can be set in the FILE\n INCLUDE tag, which are interpreted as macros that\n are \"passed\" to the included file. The macros are\n available only to the include file (and any macros\n or included files it holds). After the file is\n completely included, the macros are no longer\n available. So:\n- <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bf_\bi_\bl_\be include=\"header.hti\">\n- \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bs_\be_\bt sect-ctr=\"1\">\n- \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bw_\bh_\bi_\bl_\be sect-${sect-ctr}>\n- \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bs_\be sect-${sect-ctr}>\n- \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bi_\bn_\bc sect-ctr>\n- \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bw_\bh_\bi_\bl_\be>\n- <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bf_\bi_\bl_\be include=\"footer.hti\">\n Macros named \"name\" and \"email\" are set, and\n available inside the included file. They are not\n available, however, past the tag (which is why the\n second statement will fail.)\n *\b**\b**\b**\b* T\bTE\bEM\bMP\bPL\bLA\bAT\bTE\bE *\b**\b**\b**\b*\n A template file is nothing more than a default\n include file, one that is included once the input\n"}]}, {"source1": "./usr/share/doc/htp/if.html", "source2": "./usr/share/doc/htp/if.html", "unified_diff": "@@ -114,35 +114,53 @@\n Bugs\n \n \n \n \n

syntax

\n

\n-<\"[ref]\"unset macroname>
\n-<\"[ref]\"unset macroname1 macroname2 ... >
\n-
\n

\n

synopsis

\n IF, NOT, ELSEIF, ELSE, and /IF are the building\n blocks for conditional processing. The basic form is shown above.\n

\"Conditional\" is either a \"compare\" or \"is defined\" operation. A\n compare operator is a test of the value of a macro against a literal\n string:\n

\n-    <\"[ref]\"unset email_addr>
\n+<\"[ref]\"if disabled_because_xyz>
\n+  ...
\n+<\"[ref]\"/if>
\n+if\" SIZE=KBYTE> kilobytes
\n+    Last modified <\"[ref]\"FILE NAME=\"image.gif\" TIME>, <\"[ref]\"FILE NAME=\"image.gif\" DATE>
\n+>
\n+    <\"[ref]\"IF size>
\n+        </FONT>
\n+    <\"[ref]\"/IF>
\n+  <\"[ref]\"/DEF>
\n+
\n+  <HEADERIMG SRC=\"logo.gif\" SIZE=\"+2\" TITLE=\"A title\">
\n+
\n+  <HEADERIMG SRC=\"logo.gif\" TITLE=\"Normal sized title\">
\n+
\n+  This will fail:
\n+  <HEADERIMG SRC=\"logo.gif\" ALT=\"Our logo\" TITLE=\"Another title\">
\n+
\n+  Instead, use * like this:
\n+  <\"[ref]\"DEF NAME=\"MYIMG\" OPTION=\"SRC *\">
\n+    <\"[ref]\"IMG SRC=\"pics/${src}\" $*>
\n+  <\"[ref]\"/DEF>
\n+   
\n+  <MYIMG SRC=\"logo.gif\" ALT=\"Our logo\">
\n

\n

\n and a defined operator is a test of a macro's existance:\n

\n

\n-  <\"[ref]\"WHILE sect-$i>
\n-    ...
\n-    <\"[ref]\"INC i>
\n-  <\"[ref]\"/WHILE>
\n+    <\"[ref]\"FILE INCLUDE=\"include.hti\" name=\"Jim Nelson\" email=\"jnelson@crl.com\">
\n+    This tag will fail: <\"[ref]\"USE name>
\n

\n

\n If the NOT tag is present in the IF markup, the evaluation of the\n conditional is reversed. The first IF or ELSEIF condition that\n evaluates to true is chosen. If none of the conditions is true the\n ELSE block is taken if it is present. A conditional block\n must be closed with the /IF tag. IF tags can be nested.\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,36 +1,59 @@\n [HTP]\n *\b**\b**\b**\b**\b**\b* h\bht\btp\bp o\bon\bn-\b-l\bli\bin\bne\be r\bre\bef\bfe\ber\bre\ben\bnc\bce\be :\b: I\bIF\bF,\b, E\bEL\bLS\bSE\bEI\bIF\bF,\b, E\bEL\bLS\bSE\bE,\b, /\b/I\bIF\bF *\b**\b**\b**\b**\b**\b*\n _\bT_\ba_\bb_\bl_\be_\b _\bo_\bf_\b _\bC_\bo_\bn_\bt_\be_\bn_\bt_\bs *\b**\b**\b**\b**\b* s\bsy\byn\bnt\bta\bax\bx *\b**\b**\b**\b**\b*\n-\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt macroname>\n-\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt macroname1 macroname2 ... >\n-\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl\n-\u00a0 _\bU_\bs_\ba_\bg_\be *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n-\u00a0 HTP Tags I\bIF\bF,\b, N\bNO\bOT\bT,\b, E\bEL\bLS\bSE\bEI\bIF\bF,\b, E\bEL\bLS\bSE\bE,\b, a\ban\bnd\bd /\b/I\bIF\bF are the building\n-\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT blocks for conditional processing. The basic form\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK is shown above.\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF \"Conditional\" is either a \"compare\" or \"is defined\"\n-\u00a0 \u00a0 _\bD_\bE_\bF operation. A compare operator is a test of the\n-\u00a0 \u00a0 _\bF_\bI_\bL_\bE value of a macro against a literal string:\n-\u00a0 [>] _\bI_\bF \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt email_addr>\n-\u00a0 \u00a0 _\bI_\bN_\bC and a defined operator is a test of a macro's\n-\u00a0 \u00a0 _\bI_\bM_\bG existance:\n-\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE sect-$i>\n-\u00a0 \u00a0 _\bO_\bP_\bT \u00a0 \u00a0 ...\n-\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bN_\bC i>\n-\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n-\u00a0 \u00a0 _\bS_\bE_\bT If the NOT tag is present in the IF markup, the\n-\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF evaluation of the conditional is reversed. The\n-\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT first IF or ELSEIF condition that evaluates to true\n-\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ is chosen. If none of the conditions is true the\n-\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE ELSE block is taken if it is present. A conditional\n-\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- block m\bmu\bus\bst\bt be closed with the /IF tag. IF tags can\n-\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by be nested.\n+\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n+\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be I\bIF\bF,\b, N\bNO\bOT\bT,\b, E\bEL\bLS\bSE\bEI\bIF\bF,\b, E\bEL\bLS\bSE\bE,\b, a\ban\bnd\bd /\b/I\bIF\bF are the building\n+\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl blocks for conditional processing. The basic form\n+\u00a0 _\bU_\bs_\ba_\bg_\be is shown above.\n+\u00a0 HTP Tags \"Conditional\" is either a \"compare\" or \"is defined\"\n+\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT operation. A compare operator is a test of the\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK value of a macro against a literal string:\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bi_\bf disabled_because_xyz>\n+\u00a0 \u00a0 _\bD_\bE_\bF \u00a0 ...\n+\u00a0 \u00a0 _\bF_\bI_\bL_\bE <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bi_\bf>\n+\u00a0 [>] _\bI_\bF if\" SIZE=KBYTE> kilobytes\n+\u00a0 \u00a0 _\bI_\bN_\bC \u00a0 \u00a0 Last modified <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE NAME=\"image.gif\"\n+\u00a0 \u00a0 _\bI_\bM_\bG TIME>, <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE NAME=\"image.gif\" DATE>\n+\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL >\n+\u00a0 \u00a0 _\bO_\bP_\bT \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF size>\n+\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT \u00a0 \u00a0 \u00a0 \u00a0 \n+\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bI_\bF>\n+\u00a0 \u00a0 _\bS_\bE_\bT \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bD_\bE_\bF>\n+\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF\n+\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT \u00a0 \n+\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE\n+\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- \u00a0 \n \u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt\n-\u00a0 _\bB_\bu_\bg_\bs\n+\u00a0 _\bB_\bu_\bg_\bs \u00a0 This will fail:\n+ \u00a0 \n+\n+ \u00a0 Instead, use * like this:\n+ \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bD_\bE_\bF NAME=\"MYIMG\" OPTION=\"SRC *\">\n+ \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bM_\bG SRC=\"pics/${src}\" $*>\n+ \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bD_\bE_\bF>\n+ \u00a0 \u00a0\n+ \u00a0 \n+ and a defined operator is a test of a macro's\n+ existance:\n+ \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE INCLUDE=\"include.hti\" name=\"Jim\n+ Nelson\" email=\"jnelson@crl.com\">\n+ \u00a0 \u00a0 This tag will fail: <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bU_\bS_\bE name>\n+ If the NOT tag is present in the IF markup, the\n+ evaluation of the conditional is reversed. The\n+ first IF or ELSEIF condition that evaluates to true\n+ is chosen. If none of the conditions is true the\n+ ELSE block is taken if it is present. A conditional\n+ block m\bmu\bus\bst\bt be closed with the /IF tag. IF tags can\n+ be nested.\n+\n+\n \n \n \n \n \n \n \n"}]}, {"source1": "./usr/share/doc/htp/imageurl.html", "source2": "./usr/share/doc/htp/imageurl.html", "unified_diff": "@@ -114,17 +114,14 @@\n Bugs\n \n \n \n \n

syntax

\n

\n-<\"[ref]\"unset macroname>
\n-<\"[ref]\"unset macroname1 macroname2 ... >
\n-
\n

\n

synopsis

\n

\n IMAGEURL tells htp, where to find images on the local\n file system. declares an URL replacement that is used for\n size lookups in any IMG tag. This definitions\n takes effect only if the IMGXY option is\n@@ -138,14 +135,15 @@\n checks (case-insensitive) if it is a prefix of the image's SRC\n attribute. If it matches this prefix is replaced by the given PATH.\n If no IMAGEURL matches the SRC is considered as relative link and\n looked up in the current directory.

\n

\n For example:

\n

\n+    <\"[ref]\"IF name>...<\"[ref]\"/IF>
\n

\n

\n If IMAGEURL is specified with a URL but no PATH attribute, it is treated as\n an undefine, and is removed.

\n

\n Since you usually need the url mapping for a number of images used throughout\n a set of documents, IMAGEURL is most appropriately put into an\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,38 +1,36 @@\n [HTP]\n *\b**\b**\b**\b**\b**\b* h\bht\btp\bp o\bon\bn-\b-l\bli\bin\bne\be r\bre\bef\bfe\ber\bre\ben\bnc\bce\be :\b: I\bIM\bMA\bAG\bGE\bEU\bUR\bRL\bL *\b**\b**\b**\b**\b**\b*\n _\bT_\ba_\bb_\bl_\be_\b _\bo_\bf_\b _\bC_\bo_\bn_\bt_\be_\bn_\bt_\bs *\b**\b**\b**\b**\b* s\bsy\byn\bnt\bta\bax\bx *\b**\b**\b**\b**\b*\n-\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt macroname>\n-\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt macroname1 macroname2 ... >\n-\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl\n-\u00a0 _\bU_\bs_\ba_\bg_\be *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n-\u00a0 HTP Tags I\bIM\bMA\bAG\bGE\bEU\bUR\bRL\bL tells htp, where to find images on the\n-\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT local file system. declares an URL replacement that\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK is used for size lookups in any _\bI_\bM_\bG tag. This\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF definitions takes effect only if the _\bI_\bM_\bG_\bX_\bY option\n-\u00a0 \u00a0 _\bD_\bE_\bF is enabled. Beacause htp can't lookup files in the\n-\u00a0 \u00a0 _\bF_\bI_\bL_\bE world wide web you have to map absolute image URLs\n-\u00a0 \u00a0 _\bI_\bF to a directory in the local file system.\n-\u00a0 \u00a0 _\bI_\bN_\bC When an IMG tag is encountered where htp has to\n-\u00a0 \u00a0 _\bI_\bM_\bG insert width and height the defined URL\n-\u00a0 [>] _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL replacements will be taken into account (later\n-\u00a0 \u00a0 _\bO_\bP_\bT definitions take precedence to earlier): For each\n-\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT defined imageurl it checks (case-insensitive) if it\n-\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE is a prefix of the image's SRC attribute. If it\n-\u00a0 \u00a0 _\bS_\bE_\bT matches this prefix is replaced by the given PATH.\n-\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF If no IMAGEURL matches the SRC is considered as\n-\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT relative link and looked up in the current\n-\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ directory.\n-\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE For example:\n-\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- If IMAGEURL is specified with a URL but no PATH\n-\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by attribute, it is treated as an undefine, and is\n-\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt removed.\n-\u00a0 _\bB_\bu_\bg_\bs Since you usually need the url mapping for a number\n- of images used throughout a set of documents,\n- IMAGEURL is most appropriately put into an _\bi_\bn_\bc_\bl_\bu_\bd_\be\n+\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n+\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be I\bIM\bMA\bAG\bGE\bEU\bUR\bRL\bL tells htp, where to find images on the\n+\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl local file system. declares an URL replacement that\n+\u00a0 _\bU_\bs_\ba_\bg_\be is used for size lookups in any _\bI_\bM_\bG tag. This\n+\u00a0 HTP Tags definitions takes effect only if the _\bI_\bM_\bG_\bX_\bY option\n+\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT is enabled. Beacause htp can't lookup files in the\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK world wide web you have to map absolute image URLs\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF to a directory in the local file system.\n+\u00a0 \u00a0 _\bD_\bE_\bF When an IMG tag is encountered where htp has to\n+\u00a0 \u00a0 _\bF_\bI_\bL_\bE insert width and height the defined URL\n+\u00a0 \u00a0 _\bI_\bF replacements will be taken into account (later\n+\u00a0 \u00a0 _\bI_\bN_\bC definitions take precedence to earlier): For each\n+\u00a0 \u00a0 _\bI_\bM_\bG defined imageurl it checks (case-insensitive) if it\n+\u00a0 [>] _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL is a prefix of the image's SRC attribute. If it\n+\u00a0 \u00a0 _\bO_\bP_\bT matches this prefix is replaced by the given PATH.\n+\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT If no IMAGEURL matches the SRC is considered as\n+\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE relative link and looked up in the current\n+\u00a0 \u00a0 _\bS_\bE_\bT directory.\n+\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF For example:\n+\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF name>...<_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bI_\bF>\n+\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ If IMAGEURL is specified with a URL but no PATH\n+\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE attribute, it is treated as an undefine, and is\n+\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- removed.\n+\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by Since you usually need the url mapping for a number\n+\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt of images used throughout a set of documents,\n+\u00a0 _\bB_\bu_\bg_\bs IMAGEURL is most appropriately put into an _\bi_\bn_\bc_\bl_\bu_\bd_\be\n _\bf_\bi_\bl_\be or the _\bh_\bt_\bp_\b._\bd_\be_\bf file.\n In addition to WIDTH and HEIGHT, htp can also\n (semi-)automatically add an _\bA_\bL_\bT_\b _\bt_\be_\bx_\bt attribute to\n _\bI_\bM_\bG tags.\n \n \n \n"}]}, {"source1": "./usr/share/doc/htp/img.html", "source2": "./usr/share/doc/htp/img.html", "unified_diff": "@@ -114,17 +114,14 @@\n Bugs\n \n \n \n \n

syntax

\n

\n-<\"[ref]\"unset macroname>
\n-<\"[ref]\"unset macroname1 macroname2 ... >
\n-
\n

\n

synopsis

\n

img is a standard HTML tag. htp can add the specified\n image's width and height to the tag automatically. This has the advantage\n of not having to determine each image's size manually, which is especially\n useful if the image may change frequently.

\n

htp adds this information with the WIDTH and HEIGHT markup\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,39 +1,36 @@\n [HTP]\n *\b**\b**\b**\b**\b**\b* h\bht\btp\bp o\bon\bn-\b-l\bli\bin\bne\be r\bre\bef\bfe\ber\bre\ben\bnc\bce\be :\b: I\bIM\bMG\bG *\b**\b**\b**\b**\b**\b*\n _\bT_\ba_\bb_\bl_\be_\b _\bo_\bf_\b _\bC_\bo_\bn_\bt_\be_\bn_\bt_\bs *\b**\b**\b**\b**\b* s\bsy\byn\bnt\bta\bax\bx *\b**\b**\b**\b**\b*\n-\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt macroname>\n-\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt macroname1 macroname2 ... >\n-\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl\n-\u00a0 _\bU_\bs_\ba_\bg_\be *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n-\u00a0 HTP Tags i\bim\bmg\bg is a standard HTML tag. htp can add the\n-\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT specified image's width and height to the tag\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK automatically. This has the advantage of not having\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF to determine each image's size manually, which is\n-\u00a0 \u00a0 _\bD_\bE_\bF especially useful if the image may change\n-\u00a0 \u00a0 _\bF_\bI_\bL_\bE frequently.\n-\u00a0 \u00a0 _\bI_\bF htp adds this information with the WIDTH and HEIGHT\n-\u00a0 \u00a0 _\bI_\bN_\bC markup attributes. If htp detects these attributes\n-\u00a0 [>] _\bI_\bM_\bG are already present in the tag, it will n\bno\bot\bt modify\n-\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL the values. If htp cannot find the image file, it\n-\u00a0 \u00a0 _\bO_\bP_\bT will issue a warning but not halt processing.\n-\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT At this time, GIF (Graphic Interchange Format), PNG\n-\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE (Portable Network Graphics), and JFIF (JPEG File\n-\u00a0 \u00a0 _\bS_\bE_\bT Interchange Format) are supported.\n-\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF The _\bI_\bM_\bG_\bX_\bY_\b _\ba_\bn_\bd_\b _\bN_\bO_\bI_\bM_\bG_\bX_\bY options control whether or\n-\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT not htp actually adds this information as it\n-\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ executes.\n-\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE Since htp is able to lookup files only in the local\n-\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- filesystem, the _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL tag may be used to map\n-\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by URLs to local files.\n-\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt htp can also add default ALT text to IMG tags using\n-\u00a0 _\bB_\bu_\bg_\bs _\bA_\bL_\bT_\bT_\bE_\bX_\bT.\n-\n-\n-\n+\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n+\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be i\bim\bmg\bg is a standard HTML tag. htp can add the\n+\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl specified image's width and height to the tag\n+\u00a0 _\bU_\bs_\ba_\bg_\be automatically. This has the advantage of not having\n+\u00a0 HTP Tags to determine each image's size manually, which is\n+\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT especially useful if the image may change\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK frequently.\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF htp adds this information with the WIDTH and HEIGHT\n+\u00a0 \u00a0 _\bD_\bE_\bF markup attributes. If htp detects these attributes\n+\u00a0 \u00a0 _\bF_\bI_\bL_\bE are already present in the tag, it will n\bno\bot\bt modify\n+\u00a0 \u00a0 _\bI_\bF the values. If htp cannot find the image file, it\n+\u00a0 \u00a0 _\bI_\bN_\bC will issue a warning but not halt processing.\n+\u00a0 [>] _\bI_\bM_\bG At this time, GIF (Graphic Interchange Format), PNG\n+\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL (Portable Network Graphics), and JFIF (JPEG File\n+\u00a0 \u00a0 _\bO_\bP_\bT Interchange Format) are supported.\n+\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT The _\bI_\bM_\bG_\bX_\bY_\b _\ba_\bn_\bd_\b _\bN_\bO_\bI_\bM_\bG_\bX_\bY options control whether or\n+\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE not htp actually adds this information as it\n+\u00a0 \u00a0 _\bS_\bE_\bT executes.\n+\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF Since htp is able to lookup files only in the local\n+\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT filesystem, the _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL tag may be used to map\n+\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ URLs to local files.\n+\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE htp can also add default ALT text to IMG tags using\n+\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- _\bA_\bL_\bT_\bT_\bE_\bX_\bT.\n+\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by\n+\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt\n+\u00a0 _\bB_\bu_\bg_\bs\n \n \n \n \n \n \n \n"}]}, {"source1": "./usr/share/doc/htp/inc.html", "source2": "./usr/share/doc/htp/inc.html", "unified_diff": "@@ -114,17 +114,14 @@\n Bugs\n \n \n \n \n

syntax

\n

\n-<\"[ref]\"unset macroname>
\n-<\"[ref]\"unset macroname1 macroname2 ... >
\n-
\n

\n

synopsis

\n The INC can be used for incrementing/decrementing a\n variable or for variable addition. The basic form is shown above.\n

\n The \"increment\" is anything that evaluates to a integer. It can be a\n literal string or a macro preceeded by the '$'-operator. The\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,46 +1,43 @@\n [HTP]\n *\b**\b**\b**\b**\b**\b* h\bht\btp\bp o\bon\bn-\b-l\bli\bin\bne\be r\bre\bef\bfe\ber\bre\ben\bnc\bce\be :\b: I\bIN\bNC\bC *\b**\b**\b**\b**\b**\b*\n _\bT_\ba_\bb_\bl_\be_\b _\bo_\bf_\b _\bC_\bo_\bn_\bt_\be_\bn_\bt_\bs *\b**\b**\b**\b**\b* s\bsy\byn\bnt\bta\bax\bx *\b**\b**\b**\b**\b*\n-\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt macroname>\n-\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt macroname1 macroname2 ... >\n-\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl\n-\u00a0 _\bU_\bs_\ba_\bg_\be *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n-\u00a0 HTP Tags The I\bIN\bNC\bC can be used for incrementing/decrementing a\n-\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT variable or for variable addition. The basic form\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK is shown above.\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF The \"increment\" is anything that evaluates to a\n-\u00a0 \u00a0 _\bD_\bE_\bF integer. It can be a literal string or a macro\n-\u00a0 \u00a0 _\bF_\bI_\bL_\bE preceeded by the '$'-operator. The macroname must\n-\u00a0 \u00a0 _\bI_\bF be the name of a defined macro that contains an\n-\u00a0 [>] _\bI_\bN_\bC integer. If the increment is ommitted it defaults\n-\u00a0 \u00a0 _\bI_\bM_\bG to 1. The effect of this operation is that the\n-\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL macro is redefined to contain the sum of its\n-\u00a0 \u00a0 _\bO_\bP_\bT previous value and its increment.\n-\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT To increment or decrement a variable you can use\n-\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE this form:\n-\u00a0 \u00a0 _\bS_\bE_\bT Note that INC doesn't check if the strings really\n-\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF denote integers. It may give weired results when\n-\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT used on arbitrary strings. The integer values are\n-\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ limited to the range -2^31..2^31.\n-\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE Note further that htp wasn't designed to do\n-\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- extensive calculations. The INC tag is useful in\n-\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by conjunction with WHILE to iterate over the defined\n-\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt blocks.\n+\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n+\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be The I\bIN\bNC\bC can be used for incrementing/decrementing a\n+\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl variable or for variable addition. The basic form\n+\u00a0 _\bU_\bs_\ba_\bg_\be is shown above.\n+\u00a0 HTP Tags The \"increment\" is anything that evaluates to a\n+\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT integer. It can be a literal string or a macro\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK preceeded by the '$'-operator. The macroname must\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF be the name of a defined macro that contains an\n+\u00a0 \u00a0 _\bD_\bE_\bF integer. If the increment is ommitted it defaults\n+\u00a0 \u00a0 _\bF_\bI_\bL_\bE to 1. The effect of this operation is that the\n+\u00a0 \u00a0 _\bI_\bF macro is redefined to contain the sum of its\n+\u00a0 [>] _\bI_\bN_\bC previous value and its increment.\n+\u00a0 \u00a0 _\bI_\bM_\bG To increment or decrement a variable you can use\n+\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL this form:\n+\u00a0 \u00a0 _\bO_\bP_\bT Note that INC doesn't check if the strings really\n+\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT denote integers. It may give weired results when\n+\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE used on arbitrary strings. The integer values are\n+\u00a0 \u00a0 _\bS_\bE_\bT limited to the range -2^31..2^31.\n+\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF Note further that htp wasn't designed to do\n+\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT extensive calculations. The INC tag is useful in\n+\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ conjunction with WHILE to iterate over the defined\n+\u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE blocks.\n+\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b-\n+\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by\n+\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt\n \u00a0 _\bB_\bu_\bg_\bs\n \n \n \n \n \n \n \n-\n-\n-\n \n \n \n \n \n \n \n"}]}, {"source1": "./usr/share/doc/htp/metatag.html", "source2": "./usr/share/doc/htp/metatag.html", "unified_diff": "@@ -88,22 +88,14 @@\n

Metatags are defined with the \"[ref]\"def and \"[ref]\"blockdef tags and\n undefined with the \"[ref]\"undef tag.

\n

\n As an example we show how to define a tag that builds a\n fancy horizontal rule out of several images.\n

\n

\n- 1. <\"[ref]\"WHILE [NOT] conditional>
\n- 2.     block
\n- 3. <\"[ref]\"/WHILE>
\n- 4.
\n- 5. ion2 ...]\" ] [global] [expand]>
\n- 6.   ... <\"[ref]\"use block> ...
\n- 7. <\"[ref]\"/blockdef>
\n- 8.
\n

\n

In line 1 of the above example a new tag named imghr is defined.\n The html code which implements this rule is following in lines 2-8.\n between the \"[ref]\"def and\n /def tags. You don't have to understand this\n html code, but you should understand that this is just pure html to\n draw the fancy rule. Every time you write <imghr>\n@@ -113,35 +105,60 @@\n file.

\n

Often you want to define tags that have an opening and a closing\n variant. For this purpose you should use the \"[ref]\"blockdef tag. When htp\n encounters a blockdef tag it will automatically search for the\n matching closing tag and put everything between these tags in a block\n macro named block. Here is an example for this.

\n

\n+ 1.   <\"[ref]\"DEF NAME=\"HEADERIMG\" OPTION=\"SRC TITLE SIZE\">
\n+ 2.     <\"[ref]\"IF size>
\n+ 3.         <FONT SIZE=${size}>
\n+ 4.     <\"[ref]\"/IF>
\n+ 5.     <\"[ref]\"IMG SRC=pics/${src}>
\n+ 6.     <\"[ref]\"USE title>
\n+ 7.     <\"[ref]\"IF size>
\n+ 8.         </FONT>
\n+ 9.     <\"[ref]\"/IF>
\n+10.   <\"[ref]\"/DEF>
\n+11.
\n+12.   <HEADERIMG SRC=\"logo.gif\" SIZE=\"+2\" TITLE=\"A title\">
\n+13.
\n+14.   <HEADERIMG SRC=\"logo.gif\" TITLE=\"Normal sized title\">
\n+15.
\n+16.   This will fail:
\n+17.   <HEADERIMG SRC=\"logo.gif\" ALT=\"Our logo\" TITLE=\"Another title\">
\n+18.
\n+19.   Instead, use * like this:
\n+20.   <\"[ref]\"DEF NAME=\"MYIMG\" OPTION=\"SRC *\">
\n+21.     <\"[ref]\"IMG SRC=\"pics/${src}\" $*>
\n+22.   <\"[ref]\"/DEF>
\n+23.    
\n+24.   <MYIMG SRC=\"logo.gif\" ALT=\"Our logo\">
\n

\n

Using parameters

\n

More sophisticated tags accept parameters. The\n option parameter lets multiple metatag parameters be\n named and expanded inside the def or\n blockdef block:

\n

\n- 1.   <\"[ref]\"WHILE sect-$i>
\n- 2.     ...
\n- 3.     <\"[ref]\"INC i>
\n- 4.   <\"[ref]\"/WHILE>
\n+ 1.     <\"[ref]\"FILE INCLUDE=\"include.hti\" name=\"Jim Nelson\" email=\"jnelson@crl.com\">
\n+ 2.     This tag will fail: <\"[ref]\"USE name>
\n

\n

Saving blocks for later

\n

When you are using templates, the html should only be written by\n the template file. The normal htp files should just define macros\n that are used later in the template. So you may want to write block\n tags that just save the block in a macro for later use. Although this\n is possible with htp it is quite tricky, so here we present the way to\n do this:

\n

\n- 1.     <${tagName} ${attrName}=${value$ctr}>
\n+ 1.   <\"[ref]\"WHILE sect-$i>
\n+ 2.     ...
\n+ 3.     <\"[ref]\"INC i>
\n+ 4.   <\"[ref]\"/WHILE>
\n

\n

This defines a block macro named section. This macro uses a\n counter sect-ctr that enumerates the sections. It is\n increased for every section (line 3) and then the block macro name is\n build from this counter. So the first section is stored in block\n sect-1, the second in sect-2 and so on. The \"[ref]\"global flag\n in line 4 tells htp that these macros should be defined globally\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -9,23 +9,15 @@\n \u00a0 \u00a0 _\bT_\be_\bm_\bp_\bl_\ba_\bt_\be_\bs functionality.\n \u00a0 \u00a0 _\bF_\bi_\bl_\be_\bs Metatags are defined with the _\b[_\b[_\br_\be_\bf_\b]_\b]_\bd_\be_\bf and _\b[\n \u00a0 [>] _\bM_\be_\bt_\ba_\bt_\ba_\bg_\bs _\b[_\br_\be_\bf_\b]_\b]_\bb_\bl_\bo_\bc_\bk_\bd_\be_\bf tags and undefined with the _\b[\n \u00a0 _\bU_\bs_\ba_\bg_\be _\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bd_\be_\bf tag.\n \u00a0 _\bH_\bT_\bP_\b _\bT_\ba_\bg_\bs As an example we show how to define a tag that\n \u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by builds a fancy horizontal rule out of several\n \u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt images.\n-\u00a0 _\bB_\bu_\bg_\bs \u00a01. <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE [NOT] conditional>\n- \u00a02. \u00a0 \u00a0 block\n- \u00a03. <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n- \u00a04.\n- \u00a05. ion2 ...]\" ] [global] [expand]>\n- \u00a06. \u00a0 ... <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bs_\be block>\u00a0...\n- \u00a07. <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bb_\bl_\bo_\bc_\bk_\bd_\be_\bf>\n- \u00a08.\n- In line 1 of the above example a new tag named\n+\u00a0 _\bB_\bu_\bg_\bs In line 1 of the above example a new tag named\n imghr is defined. The html code which implements\n this rule is following in lines 2-8. between the _\b[\n _\b[_\br_\be_\bf_\b]_\b]_\bd_\be_\bf_\b _\ba_\bn_\bd_\b _\b/_\bd_\be_\bf tags. You don't have to\n understand this html code, but you should\n understand that this is just pure html to draw the\n fancy rule. Every time you write as in line\n 12 htp will replace this tag with the corresponding\n@@ -35,32 +27,62 @@\n Often you want to define tags that have an opening\n and a closing variant. For this purpose you should\n use the _\b[_\b[_\br_\be_\bf_\b]_\b]_\bb_\bl_\bo_\bc_\bk_\bd_\be_\bf tag. When htp encounters a\n blockdef tag it will automatically search for the\n matching closing tag and put everything between\n these tags in a block macro named block. Here is an\n example for this.\n+ \u00a01. \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bD_\bE_\bF NAME=\"HEADERIMG\" OPTION=\"SRC\n+ TITLE SIZE\">\n+ \u00a02. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF size>\n+ \u00a03. \u00a0 \u00a0 \u00a0 \u00a0 \n+ \u00a04. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bI_\bF>\n+ \u00a05. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bM_\bG SRC=pics/${src}>\n+ \u00a06. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bU_\bS_\bE title>\n+ \u00a07. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF size>\n+ \u00a08. \u00a0 \u00a0 \u00a0 \u00a0 \n+ \u00a09. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bI_\bF>\n+ 10. \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bD_\bE_\bF>\n+ 11.\n+ 12. \u00a0 \n+ 13.\n+ 14. \u00a0 \n+ 15.\n+ 16. \u00a0 This will fail:\n+ 17. \u00a0 \n+ 18.\n+ 19. \u00a0 Instead, use * like this:\n+ 20. \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bD_\bE_\bF NAME=\"MYIMG\" OPTION=\"SRC *\">\n+ 21. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bM_\bG SRC=\"pics/${src}\" $*>\n+ 22. \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bD_\bE_\bF>\n+ 23. \u00a0 \u00a0\n+ 24. \u00a0 \n *\b**\b**\b**\b**\b* U\bUs\bsi\bin\bng\bg p\bpa\bar\bra\bam\bme\bet\bte\ber\brs\bs *\b**\b**\b**\b**\b*\n More sophisticated tags accept parameters. The\n option parameter lets multiple metatag parameters\n be named and expanded inside the def or blockdef\n block:\n- \u00a01. \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE sect-$i>\n- \u00a02. \u00a0 \u00a0 ...\n- \u00a03. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bN_\bC i>\n- \u00a04. \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n+ \u00a01. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE INCLUDE=\"include.hti\"\n+ name=\"Jim Nelson\" email=\"jnelson@crl.com\">\n+ \u00a02. \u00a0 \u00a0 This tag will fail: <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bU_\bS_\bE name>\n *\b**\b**\b**\b**\b* S\bSa\bav\bvi\bin\bng\bg b\bbl\blo\boc\bck\bks\bs f\bfo\bor\br l\bla\bat\bte\ber\br *\b**\b**\b**\b**\b*\n When you are using templates, the html should only\n be written by the template file. The normal htp\n files should just define macros that are used later\n in the template. So you may want to write block\n tags that just save the block in a macro for later\n use. Although this is possible with htp it is quite\n tricky, so here we present the way to do this:\n- \u00a01. \u00a0 \u00a0 <${tagName} ${attrName}=${value$ctr}>\n+ \u00a01. \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE sect-$i>\n+ \u00a02. \u00a0 \u00a0 ...\n+ \u00a03. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bN_\bC i>\n+ \u00a04. \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n This defines a block macro named section. This\n macro uses a counter sect-ctr that enumerates the\n sections. It is increased for every section (line\n 3) and then the block macro name is build from this\n counter. So the first section is stored in block\n sect-1, the second in sect-2 and so on. The _\b[\n _\b[_\br_\be_\bf_\b]_\b]_\bg_\bl_\bo_\bb_\ba_\bl flag in line 4 tells htp that these\n"}]}, {"source1": "./usr/share/doc/htp/opt.html", "source2": "./usr/share/doc/htp/opt.html", "unified_diff": "@@ -114,21 +114,23 @@\n Bugs\n \n \n \n \n

syntax

\n

\n-<\"[ref]\"use macroname [parameters ...] [noexpand]>
\n-<... $macroname ...>
\n-<... ${macroname} ...>
\n+  <\"[ref]\"def name=\"bigfont\">
\n+    <font size=\"+4\">
\n+  <\"[ref]\"/def>
\n
\n-block> ...
\n-<\"[ref]\"/blockdef>
\n+  <\"[ref]\"def name=\"/bigfont\">
\n+    </font>
\n+  <\"[ref]\"/def>
\n
\n+  <bigfont>Some large text</bigfont>
\n

\n

synopsis

\n OPT is an htp tag that can be used to specify processing\n options inside the actual document being processed. The options are\n used exactly as they would be on the command-line, although they are not\n preceded by a ‘-’ character.\n

\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,27 +1,27 @@\n [HTP]\n *\b**\b**\b**\b**\b**\b* h\bht\btp\bp o\bon\bn-\b-l\bli\bin\bne\be r\bre\bef\bfe\ber\bre\ben\bnc\bce\be :\b: O\bOP\bPT\bT *\b**\b**\b**\b**\b**\b*\n _\bT_\ba_\bb_\bl_\be_\b _\bo_\bf_\b _\bC_\bo_\bn_\bt_\be_\bn_\bt_\bs *\b**\b**\b**\b**\b* s\bsy\byn\bnt\bta\bax\bx *\b**\b**\b**\b**\b*\n-\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bs_\be macroname [parameters ...] [noexpand]>\n-\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be <... $macroname ...>\n-\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl <... ${macroname} ...>\n+\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bd_\be_\bf name=\"bigfont\">\n+\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be \u00a0 \u00a0 \n+\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bd_\be_\bf>\n \u00a0 _\bU_\bs_\ba_\bg_\be\n-\u00a0 HTP Tags block> ...\n-\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bb_\bl_\bo_\bc_\bk_\bd_\be_\bf>\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n-\u00a0 \u00a0 _\bD_\bE_\bF O\bOP\bPT\bT is an htp tag that can be used to specify\n-\u00a0 \u00a0 _\bF_\bI_\bL_\bE processing options inside the actual document being\n-\u00a0 \u00a0 _\bI_\bF processed. The options are used exactly as they\n-\u00a0 \u00a0 _\bI_\bN_\bC would be on the command-line, although they are not\n-\u00a0 \u00a0 _\bI_\bM_\bG preceded by a \u2018-\u2019 character.\n-\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL Click here for _\bm_\bo_\br_\be_\b _\bi_\bn_\bf_\bo_\br_\bm_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bn_\b _\bu_\bs_\bi_\bn_\bg\n-\u00a0 [>] _\bO_\bP_\bT _\bc_\bu_\bs_\bt_\bo_\bm_\bi_\bz_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bp_\bt_\bi_\bo_\bn_\bs_\b _\bw_\bi_\bt_\bh_\b _\bh_\bt_\bp.\n-\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT\n-\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE\n+\u00a0 HTP Tags \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bd_\be_\bf name=\"/bigfont\">\n+\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT \u00a0 \u00a0 \n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bd_\be_\bf>\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF\n+\u00a0 \u00a0 _\bD_\bE_\bF \u00a0 Some large text\n+\u00a0 \u00a0 _\bF_\bI_\bL_\bE *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n+\u00a0 \u00a0 _\bI_\bF O\bOP\bPT\bT is an htp tag that can be used to specify\n+\u00a0 \u00a0 _\bI_\bN_\bC processing options inside the actual document being\n+\u00a0 \u00a0 _\bI_\bM_\bG processed. The options are used exactly as they\n+\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL would be on the command-line, although they are not\n+\u00a0 [>] _\bO_\bP_\bT preceded by a \u2018-\u2019 character.\n+\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT Click here for _\bm_\bo_\br_\be_\b _\bi_\bn_\bf_\bo_\br_\bm_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bn_\b _\bu_\bs_\bi_\bn_\bg\n+\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE _\bc_\bu_\bs_\bt_\bo_\bm_\bi_\bz_\ba_\bt_\bi_\bo_\bn_\b _\bo_\bp_\bt_\bi_\bo_\bn_\bs_\b _\bw_\bi_\bt_\bh_\b _\bh_\bt_\bp.\n \u00a0 \u00a0 _\bS_\bE_\bT\n \u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF\n \u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT\n \u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$\n \u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE\n \u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b-\n \u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by\n@@ -30,14 +30,16 @@\n \n \n \n \n \n \n \n+\n+\n \n \n \u00a0 _\bp_\ba_\bg_\be_\b _\bs_\bo_\bu_\br_\bc_\be\n \u00a0 _\bh_\bt_\bp_\b _\bp_\br_\bo_\bj_\be_\bc_\bt\n \u00a0 _\bh_\bt_\bp_\b _\bh_\bo_\bm_\be_\bp_\ba_\bg_\be\n hosted by\n _\bS_\bo_\bu_\br_\bc_\be_\bf_\bo_\br_\bg_\be\n"}]}, {"source1": "./usr/share/doc/htp/set.html", "source2": "./usr/share/doc/htp/set.html", "unified_diff": "@@ -119,14 +119,38 @@\n

syntax

\n

\n

\n

synopsis

\n SET creates a macro definition that can later be expanded\n anywhere in the HTML document. To create a macro:\n

\n+  <\"[ref]\"DEF NAME=\"HEADERIMG\" OPTION=\"SRC TITLE SIZE\">
\n+    <\"[ref]\"IF size>
\n+        <FONT SIZE=${size}>
\n+    <\"[ref]\"/IF>
\n+    <\"[ref]\"IMG SRC=pics/${src}>
\n+    <\"[ref]\"USE title>
\n+    <\"[ref]\"IF size>
\n+        </FONT>
\n+    <\"[ref]\"/IF>
\n+  <\"[ref]\"/DEF>
\n+
\n+  <HEADERIMG SRC=\"logo.gif\" SIZE=\"+2\" TITLE=\"A title\">
\n+
\n+  <HEADERIMG SRC=\"logo.gif\" TITLE=\"Normal sized title\">
\n+
\n+  This will fail:
\n+  <HEADERIMG SRC=\"logo.gif\" ALT=\"Our logo\" TITLE=\"Another title\">
\n+
\n+  Instead, use * like this:
\n+  <\"[ref]\"DEF NAME=\"MYIMG\" OPTION=\"SRC *\">
\n+    <\"[ref]\"IMG SRC=\"pics/${src}\" $*>
\n+  <\"[ref]\"/DEF>
\n+   
\n+  <MYIMG SRC=\"logo.gif\" ALT=\"Our logo\">
\n

\n

\n The macro \"emailaddr\" can then be expanded later. The \n USE tag is used to expand the macro outside a tag (i.e., into the regular\n text). If the macro needs to be expanded inside a markup tag, use the\n '$' operator.\n

\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,36 +1,64 @@\n [HTP]\n *\b**\b**\b**\b**\b**\b* h\bht\btp\bp o\bon\bn-\b-l\bli\bin\bne\be r\bre\bef\bfe\ber\bre\ben\bnc\bce\be :\b: S\bSE\bET\bT *\b**\b**\b**\b**\b**\b*\n _\bT_\ba_\bb_\bl_\be_\b _\bo_\bf_\b _\bC_\bo_\bn_\bt_\be_\bn_\bt_\bs *\b**\b**\b**\b**\b* s\bsy\byn\bnt\bta\bax\bx *\b**\b**\b**\b**\b*\n \u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n \u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be S\bSE\bET\bT creates a macro definition that can later be\n \u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl expanded anywhere in the HTML document. To create a\n \u00a0 _\bU_\bs_\ba_\bg_\be macro:\n-\u00a0 HTP Tags The macro \"emailaddr\" can then be expanded later.\n-\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT The _\bU_\bS_\bE tag is used to expand the macro outside a\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK tag (i.e., into the regular text). If the macro\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF needs to be expanded inside a markup tag, use the\n-\u00a0 \u00a0 _\bD_\bE_\bF _\b'_\b$_\b' operator.\n-\u00a0 \u00a0 _\bF_\bI_\bL_\bE Multiple macros can be declared in a single markup\n-\u00a0 \u00a0 _\bI_\bF tag, as the second syntax line shows.\n-\u00a0 \u00a0 _\bI_\bN_\bC SET should only be used for a single line's worth\n-\u00a0 \u00a0 _\bI_\bM_\bG of text. Multi-line macros can be defined with the\n-\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL _\bB_\bL_\bO_\bC_\bK tag. The _\bB_\bL_\bO_\bC_\bK tag is also useful if the\n-\u00a0 \u00a0 _\bO_\bP_\bT macro contains a quotation character and you don't\n-\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT want to fool around with special escape characters.\n-\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE Macros can be redefined by using another SET\n-\u00a0 [>] _\bS_\bE_\bT command with the same macro name. The prior\n-\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF definition will be destroyed, however. Also, the\n-\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT macro can be removed (destroyed) with the _\bU_\bN_\bS_\bE_\bT\n-\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$ tag.\n+\u00a0 HTP Tags \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bD_\bE_\bF NAME=\"HEADERIMG\" OPTION=\"SRC TITLE\n+\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT SIZE\">\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF size>\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF \u00a0 \u00a0 \u00a0 \u00a0 \n+\u00a0 \u00a0 _\bD_\bE_\bF \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bI_\bF>\n+\u00a0 \u00a0 _\bF_\bI_\bL_\bE \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bM_\bG SRC=pics/${src}>\n+\u00a0 \u00a0 _\bI_\bF \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bU_\bS_\bE title>\n+\u00a0 \u00a0 _\bI_\bN_\bC \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF size>\n+\u00a0 \u00a0 _\bI_\bM_\bG \u00a0 \u00a0 \u00a0 \u00a0 \n+\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bI_\bF>\n+\u00a0 \u00a0 _\bO_\bP_\bT \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bD_\bE_\bF>\n+\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT\n+\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE \u00a0 ] _\bS_\bE_\bT title\">\n+\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF\n+\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT \u00a0 \n \u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE\n-\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b-\n-\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by\n-\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt\n+\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- \u00a0 This will fail:\n+\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by \u00a0 \n \u00a0 _\bB_\bu_\bg_\bs\n+ \u00a0 Instead, use * like this:\n+ \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bD_\bE_\bF NAME=\"MYIMG\" OPTION=\"SRC *\">\n+ \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bM_\bG SRC=\"pics/${src}\" $*>\n+ \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bD_\bE_\bF>\n+ \u00a0 \u00a0\n+ \u00a0 \n+ The macro \"emailaddr\" can then be expanded later.\n+ The _\bU_\bS_\bE tag is used to expand the macro outside a\n+ tag (i.e., into the regular text). If the macro\n+ needs to be expanded inside a markup tag, use the\n+ _\b'_\b$_\b' operator.\n+ Multiple macros can be declared in a single markup\n+ tag, as the second syntax line shows.\n+ SET should only be used for a single line's worth\n+ of text. Multi-line macros can be defined with the\n+ _\bB_\bL_\bO_\bC_\bK tag. The _\bB_\bL_\bO_\bC_\bK tag is also useful if the\n+ macro contains a quotation character and you don't\n+ want to fool around with special escape characters.\n+ Macros can be redefined by using another SET\n+ command with the same macro name. The prior\n+ definition will be destroyed, however. Also, the\n+ macro can be removed (destroyed) with the _\bU_\bN_\bS_\bE_\bT\n+ tag.\n+\n+\n+\n+\n+\n \n \n \n \n \n \n \n"}]}, {"source1": "./usr/share/doc/htp/tut/jh.html", "source2": "./usr/share/doc/htp/tut/jh.html", "unified_diff": "@@ -16,10 +16,10 @@\n Phone:+49 761 203-8243\n Fax:+49 761 203-8242\n \n \n \n


\n Copyright by Joe Doe.
\n- last updated Fri Oct 02, 2026\n+ last updated Sat Aug 30, 2025\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,8 +1,8 @@\n *\b**\b**\b**\b**\b**\b* J\bJo\boc\bch\bhe\ben\bn H\bHo\boe\ben\bni\bic\bck\bke\be *\b**\b**\b**\b**\b**\b*\n Navigation bar [Photo]\n _\bM_\ba_\bi_\bn R\bRo\boo\bom\bm:\b: Bld.52 00-020\n _\bE_\bx_\ba_\bm_\bp_\bl_\be P\bPh\bho\bon\bne\be:\b: +49 761 203-8243\n F\bFa\bax\bx:\b: +49 761 203-8242\n ===============================================================================\n Copyright by _\bJ_\bo_\be_\b _\bD_\bo_\be.\n-last updated Fri Oct 02, 2026\n+last updated Sat Aug 30, 2025\n"}]}, {"source1": "./usr/share/doc/htp/tut/tut1.html", "source2": "./usr/share/doc/htp/tut/tut1.html", "unified_diff": "@@ -5,9 +5,9 @@\n \n \n \n This page was produced by htp.\n
\n Copyright by Joe Doe,\n webmaster@domain.com,\n-last updated Fri Oct 02, 2026\n+last updated Sat Aug 30, 2025\n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,3 +1,3 @@\n This page was produced by htp.\n ===============================================================================\n-Copyright by Joe Doe, _\bw_\be_\bb_\bm_\ba_\bs_\bt_\be_\br_\b@_\bd_\bo_\bm_\ba_\bi_\bn_\b._\bc_\bo_\bm, last updated Fri Oct 02, 2026\n+Copyright by Joe Doe, _\bw_\be_\bb_\bm_\ba_\bs_\bt_\be_\br_\b@_\bd_\bo_\bm_\ba_\bi_\bn_\b._\bc_\bo_\bm, last updated Sat Aug 30, 2025\n"}]}, {"source1": "./usr/share/doc/htp/tut/tut2.html", "source2": "./usr/share/doc/htp/tut/tut2.html", "unified_diff": "@@ -13,10 +13,10 @@\n

\n As you can see the file contains almost only the contents.\n

\n \n \n
\n Copyright by Joe Doe.
\n- last updated Fri Oct 02, 2026\n+ last updated Sat Aug 30, 2025\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,6 +1,6 @@\n Navigation bar *\b**\b**\b**\b**\b* H\bHe\ber\bre\be i\bis\bs t\bth\bhe\be c\bco\bon\bnt\bte\ben\bnt\bt *\b**\b**\b**\b**\b*\n _\bM_\ba_\bi_\bn As you can see the file contains almost only the contents.\n _\bE_\bx_\ba_\bm_\bp_\bl_\be\n ===============================================================================\n Copyright by _\bJ_\bo_\be_\b _\bD_\bo_\be.\n-last updated Fri Oct 02, 2026\n+last updated Sat Aug 30, 2025\n"}]}, {"source1": "./usr/share/doc/htp/tut/tut3.html", "source2": "./usr/share/doc/htp/tut/tut3.html", "unified_diff": "@@ -13,10 +13,10 @@\n

\n As you can see the file contains almost only the contents.\n

\n \n \n
\n Copyright by Joe Doe.
\n- last updated Fri Oct 02, 2026\n+ last updated Sat Aug 30, 2025\n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,6 +1,6 @@\n Navigation bar *\b**\b**\b**\b**\b* H\bHe\ber\bre\be a\bar\bre\be t\bth\bhe\be c\bco\bon\bnt\bte\ben\bnt\bts\bs *\b**\b**\b**\b**\b*\n _\bM_\ba_\bi_\bn As you can see the file contains almost only the contents.\n _\bE_\bx_\ba_\bm_\bp_\bl_\be\n ===============================================================================\n Copyright by _\bJ_\bo_\be_\b _\bD_\bo_\be.\n-last updated Fri Oct 02, 2026\n+last updated Sat Aug 30, 2025\n"}]}, {"source1": "./usr/share/doc/htp/unset.html", "source2": "./usr/share/doc/htp/unset.html", "unified_diff": "@@ -114,37 +114,58 @@\n Bugs\n \n \n \n \n

syntax

\n

\n+  <\"[ref]\"DEF NAME=\"HEADERIMG\" OPTION=\"SRC TITLE SIZE\">
\n+    <\"[ref]\"IF size>
\n+        <FONT SIZE=${size}>
\n+    <\"[ref]\"/IF>
\n+    <\"[ref]\"IMG SRC=pics/${src}>
\n+    <\"[ref]\"USE title>
\n+    <\"[ref]\"IF size>
\n+        </FONT>
\n+    <\"[ref]\"/IF>
\n+  <\"[ref]\"/DEF>
\n+
\n+  <HEADERIMG SRC=\"logo.gif\" SIZE=\"+2\" TITLE=\"A title\">
\n+
\n+  <HEADERIMG SRC=\"logo.gif\" TITLE=\"Normal sized title\">
\n+
\n+  This will fail:
\n+  <HEADERIMG SRC=\"logo.gif\" ALT=\"Our logo\" TITLE=\"Another title\">
\n+
\n+  Instead, use * like this:
\n+  <\"[ref]\"DEF NAME=\"MYIMG\" OPTION=\"SRC *\">
\n+    <\"[ref]\"IMG SRC=\"pics/${src}\" $*>
\n+  <\"[ref]\"/DEF>
\n+   
\n+  <MYIMG SRC=\"logo.gif\" ALT=\"Our logo\">
\n

\n

synopsis

\n UNSET removes (or deletes) a macro and it's definition.\n The macro is subsequently not available for use in the pre-processed files.\n (Note that simply redefining the macro with another SET or\n BLOCK definition with the same name is acceptable. The\n old macro definition will be removed automatically.)\n

\n For example:\n

\n+    <\"[ref]\"FILE INCLUDE=\"include.hti\" name=\"Jim Nelson\" email=\"jnelson@crl.com\">
\n+    This tag will fail: <\"[ref]\"USE name>
\n

\n

\n More than one macro may be removed in the same tag:\n

\n   <\"[ref]\"WHILE sect-$i>
\n     ...
\n     <\"[ref]\"INC i>
\n   <\"[ref]\"/WHILE>
\n-    <\"[ref]\"inc sect-ctr>
\n-    <\"[ref]\"block name=\"sect-${sect-ctr}\" expand global>
\n-      <\"[ref]\"use block noexpand>
\n-    <\"[ref]\"/block>
\n-  <\"[ref]\"/blockdef>
\n

\n

\n \n \n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,36 +1,61 @@\n [HTP]\n *\b**\b**\b**\b**\b**\b* h\bht\btp\bp o\bon\bn-\b-l\bli\bin\bne\be r\bre\bef\bfe\ber\bre\ben\bnc\bce\be :\b: U\bUN\bNS\bSE\bET\bT *\b**\b**\b**\b**\b**\b*\n _\bT_\ba_\bb_\bl_\be_\b _\bo_\bf_\b _\bC_\bo_\bn_\bt_\be_\bn_\bt_\bs *\b**\b**\b**\b**\b* s\bsy\byn\bnt\bta\bax\bx *\b**\b**\b**\b**\b*\n-\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n-\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be U\bUN\bNS\bSE\bET\bT removes (or deletes) a macro and it's\n-\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl definition. The macro is subsequently not available\n-\u00a0 _\bU_\bs_\ba_\bg_\be for use in the pre-processed files. (Note that\n-\u00a0 HTP Tags simply redefining the macro with another _\bS_\bE_\bT or\n-\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT _\bB_\bL_\bO_\bC_\bK definition with the same name is acceptable.\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK The old macro definition will be removed\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF automatically.)\n-\u00a0 \u00a0 _\bD_\bE_\bF For example:\n-\u00a0 \u00a0 _\bF_\bI_\bL_\bE More than one macro may be removed in the same tag:\n-\u00a0 \u00a0 _\bI_\bF \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE sect-$i>\n-\u00a0 \u00a0 _\bI_\bN_\bC \u00a0 \u00a0 ...\n-\u00a0 \u00a0 _\bI_\bM_\bG \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bN_\bC i>\n-\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n-\u00a0 \u00a0 _\bO_\bP_\bT \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bi_\bn_\bc sect-ctr>\n-\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bb_\bl_\bo_\bc_\bk name=\"sect-${sect-ctr}\" expand\n-\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE global>\n-\u00a0 \u00a0 _\bS_\bE_\bT \u00a0 \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bs_\be block noexpand>\n-\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bb_\bl_\bo_\bc_\bk>\n-\u00a0 [>] _\bU_\bN_\bS_\bE_\bT \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bb_\bl_\bo_\bc_\bk_\bd_\be_\bf>\n-\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$\n+\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bD_\bE_\bF NAME=\"HEADERIMG\" OPTION=\"SRC TITLE\n+\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be SIZE\">\n+\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF size>\n+\u00a0 _\bU_\bs_\ba_\bg_\be \u00a0 \u00a0 \u00a0 \u00a0 \n+\u00a0 HTP Tags \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bI_\bF>\n+\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bM_\bG SRC=pics/${src}>\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bU_\bS_\bE title>\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF size>\n+\u00a0 \u00a0 _\bD_\bE_\bF \u00a0 \u00a0 \u00a0 \u00a0 \n+\u00a0 \u00a0 _\bF_\bI_\bL_\bE \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bI_\bF>\n+\u00a0 \u00a0 _\bI_\bF \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bD_\bE_\bF>\n+\u00a0 \u00a0 _\bI_\bN_\bC\n+\u00a0 \u00a0 _\bI_\bM_\bG \u00a0 \n+\u00a0 \u00a0 _\bO_\bP_\bT\n+\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT \u00a0 \n+\u00a0 \u00a0 _\bS_\bE_\bT\n+\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF \u00a0 This will fail:\n+\u00a0 [>] _\bU_\bN_\bS_\bE_\bT \u00a0 \n \u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE\n-\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b-\n-\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by\n-\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt\n-\u00a0 _\bB_\bu_\bg_\bs\n+\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- \u00a0 Instead, use * like this:\n+\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bD_\bE_\bF NAME=\"MYIMG\" OPTION=\"SRC *\">\n+\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bM_\bG SRC=\"pics/${src}\" $*>\n+\u00a0 _\bB_\bu_\bg_\bs \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bD_\bE_\bF>\n+ \u00a0 \u00a0\n+ \u00a0 \n+ *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n+ U\bUN\bNS\bSE\bET\bT removes (or deletes) a macro and it's\n+ definition. The macro is subsequently not available\n+ for use in the pre-processed files. (Note that\n+ simply redefining the macro with another _\bS_\bE_\bT or\n+ _\bB_\bL_\bO_\bC_\bK definition with the same name is acceptable.\n+ The old macro definition will be removed\n+ automatically.)\n+ For example:\n+ \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE INCLUDE=\"include.hti\" name=\"Jim\n+ Nelson\" email=\"jnelson@crl.com\">\n+ \u00a0 \u00a0 This tag will fail: <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bU_\bS_\bE name>\n+ More than one macro may be removed in the same tag:\n+ \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE sect-$i>\n+ \u00a0 \u00a0 ...\n+ \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bN_\bC i>\n+ \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n+\n+\n+\n+\n+\n+\n \n \n \n \n \n \n \n"}]}, {"source1": "./usr/share/doc/htp/use.html", "source2": "./usr/share/doc/htp/use.html", "unified_diff": "@@ -140,15 +140,15 @@\n attribute to prevent further expansion.

\n

USE will accept additional parameters, which are \"local\" macros\n for the expanded macro. This is only valid for BLOCK macros. Macros created using SET cannot have parameters passed. For\n example:

\n

\n- 1.     <\"[ref]\"unset email_addr home_url login_name>
\n+ 1.     <\"[ref]\"IF name>...<\"[ref]\"/IF>
\n

\n

\n (See below for a description of the '$' operator.) The example on\n line 7 works because \"stuff\" has been declared as a block macro, and\n the tag is passing the \"email\" macro to the \"stuff\" macro. Line 8\n fails because the \"email\" macro is unavailable once the block macro is\n completely expanded, and cannot be passed to a SET macro.\n@@ -182,21 +182,18 @@\n delimiting the text as if it were additional markup attributes.\n If the '$' macro is surrounded by other text (as in the two examples above),\n quotation marks are not automatically supplied.\n

\n Note that a '$' macro can be placed anywhere in a markup tag and can\n be nested. This is valid:\n

\n-<\"[ref]\"file include=\"header.hti\">
\n-  <\"[ref]\"set sect-ctr=\"1\">
\n-  <\"[ref]\"while sect-${sect-ctr}>
\n-    <\"[ref]\"use sect-${sect-ctr}>
\n-    <\"[ref]\"inc sect-ctr>
\n-  <\"[ref]\"/while>
\n-<\"[ref]\"file include=\"footer.hti\">
\n+  <\"[ref]\"WHILE sect-$i>
\n+    ...
\n+    <\"[ref]\"INC i>
\n+  <\"[ref]\"/WHILE>
\n

\n

The tagName macro can contain any tag name, even a self-defined\n metatag. Note that $ctr is expanded before the valueX\n macro is expanded, so assuming that ctr was set to 1 it will expand\n value1.\n

\n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -20,18 +20,17 @@\n \u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE inside a block which _\be_\bx_\bp_\ba_\bn_\bd_\bs itself. You can use\n \u00a0 \u00a0 _\bS_\bE_\bT the noexpand attribute to prevent further\n \u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF expansion.\n \u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT USE will accept additional parameters, which are\n \u00a0 [>] _\bU_\bS_\bE_\b,_\b _\b$ \"local\" macros for the expanded macro. This is only\n \u00a0 \u00a0 _\bW_\bH_\bI_\bL_\bE valid for _\bB_\bL_\bO_\bC_\bK macros. Macros created using _\bS_\bE_\bT\n \u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- cannot have parameters passed. For example:\n-\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by \u00a01. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt email_addr home_url\n-\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt login_name>\n-\u00a0 _\bB_\bu_\bg_\bs (See below for a description of the '$' operator.)\n- The example on line 7 works because \"stuff\" has\n+\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by \u00a01. \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF name>...<_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bI_\bF>\n+\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt (See below for a description of the '$' operator.)\n+\u00a0 _\bB_\bu_\bg_\bs The example on line 7 works because \"stuff\" has\n been declared as a block macro, and the tag is\n passing the \"email\" macro to the \"stuff\" macro.\n Line 8 fails because the \"email\" macro is\n unavailable once the block macro is completely\n expanded, and cannot be passed to a SET macro.\n Note that the \"email\" macro is available to other\n macros or included files called within the \"stuff\"\n@@ -61,21 +60,18 @@\n it with quotation marks to prevent spaces from\n delimiting the text as if it were additional markup\n attributes. If the '$' macro is surrounded by other\n text (as in the two examples above), quotation\n marks are not automatically supplied.\n Note that a '$' macro can be placed anywhere in a\n markup tag and can be nested. This is valid:\n- <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bf_\bi_\bl_\be include=\"header.hti\">\n- \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bs_\be_\bt sect-ctr=\"1\">\n- \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bw_\bh_\bi_\bl_\be sect-${sect-ctr}>\n- \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bs_\be sect-${sect-ctr}>\n- \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bi_\bn_\bc sect-ctr>\n- \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bw_\bh_\bi_\bl_\be>\n- <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bf_\bi_\bl_\be include=\"footer.hti\">\n+ \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE sect-$i>\n+ \u00a0 \u00a0 ...\n+ \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bN_\bC i>\n+ \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n The tagName macro can contain any tag name, even a\n self-defined metatag. Note that $ctr is expanded\n before the valueX macro is expanded, so assuming\n that ctr was set to 1 it will expand value1.\n \n \n \n"}]}, {"source1": "./usr/share/doc/htp/while.html", "source2": "./usr/share/doc/htp/while.html", "unified_diff": "@@ -114,15 +114,38 @@\n Bugs\n

\n \n \n \n

syntax

\n

\n-    <\"[ref]\"unset email_addr>
\n+  <\"[ref]\"DEF NAME=\"HEADERIMG\" OPTION=\"SRC TITLE SIZE\">
\n+    <\"[ref]\"IF size>
\n+        <FONT SIZE=${size}>
\n+    <\"[ref]\"/IF>
\n+    <\"[ref]\"IMG SRC=pics/${src}>
\n+    <\"[ref]\"USE title>
\n+    <\"[ref]\"IF size>
\n+        </FONT>
\n+    <\"[ref]\"/IF>
\n+  <\"[ref]\"/DEF>
\n+
\n+  <HEADERIMG SRC=\"logo.gif\" SIZE=\"+2\" TITLE=\"A title\">
\n+
\n+  <HEADERIMG SRC=\"logo.gif\" TITLE=\"Normal sized title\">
\n+
\n+  This will fail:
\n+  <HEADERIMG SRC=\"logo.gif\" ALT=\"Our logo\" TITLE=\"Another title\">
\n+
\n+  Instead, use * like this:
\n+  <\"[ref]\"DEF NAME=\"MYIMG\" OPTION=\"SRC *\">
\n+    <\"[ref]\"IMG SRC=\"pics/${src}\" $*>
\n+  <\"[ref]\"/DEF>
\n+   
\n+  <MYIMG SRC=\"logo.gif\" ALT=\"Our logo\">
\n

\n

synopsis

\n WHILE is the building block for repeated processing.\n The basic form is shown above.\n

\n \"Conditional\" is either a \"compare\" or \"is defined\" operation.\n A compare operator is a test of the value of a macro against a literal string.\n@@ -131,16 +154,18 @@\n

\n     <\"[ref]\"unset email_addr home_url login_name>
\n

\n

\n Just as with \"[ref]\"IF you can also check for a\n macro's existance:\n

\n-    <\"[ref]\"FILE INCLUDE=\"include.hti\" name=\"Jim Nelson\" email=\"jnelson@crl.com\">
\n-    This tag will fail: <\"[ref]\"USE name>
\n+  <\"[ref]\"WHILE sect-$i>
\n+    ...
\n+    <\"[ref]\"INC i>
\n+  <\"[ref]\"/WHILE>
\n

\n

\n If the condition is true, the block is evaluated and afterwards the\n WHILE tag is evaluated again. If the '$'-operator is used in the\n WHILE tag it is also reevaluated on each iteration.\n

\n A loop block must be closed with the /WHILE tag.\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -1,36 +1,64 @@\n [HTP]\n *\b**\b**\b**\b**\b**\b* h\bht\btp\bp o\bon\bn-\b-l\bli\bin\bne\be r\bre\bef\bfe\ber\bre\ben\bnc\bce\be :\b: W\bWH\bHI\bIL\bLE\bE *\b**\b**\b**\b**\b**\b*\n _\bT_\ba_\bb_\bl_\be_\b _\bo_\bf_\b _\bC_\bo_\bn_\bt_\be_\bn_\bt_\bs *\b**\b**\b**\b**\b* s\bsy\byn\bnt\bta\bax\bx *\b**\b**\b**\b**\b*\n-\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt email_addr>\n-\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n-\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl W\bWH\bHI\bIL\bLE\bE is the building block for repeated\n-\u00a0 _\bU_\bs_\ba_\bg_\be processing. The basic form is shown above.\n-\u00a0 HTP Tags \"Conditional\" is either a \"compare\" or \"is defined\"\n-\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT operation. A compare operator is a test of the\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK value of a macro against a literal string. If the\n-\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF NOT tag is present in the WHILE markup, the\n-\u00a0 \u00a0 _\bD_\bE_\bF evaluation of the conditional is reversed:\n-\u00a0 \u00a0 _\bF_\bI_\bL_\bE \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt email_addr home_url login_name>\n-\u00a0 \u00a0 _\bI_\bF Just as with _\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF you can also check for a\n-\u00a0 \u00a0 _\bI_\bN_\bC macro's existance:\n-\u00a0 \u00a0 _\bI_\bM_\bG \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bF_\bI_\bL_\bE INCLUDE=\"include.hti\" name=\"Jim\n-\u00a0 \u00a0 _\bI_\bM_\bA_\bG_\bE_\bU_\bR_\bL Nelson\" email=\"jnelson@crl.com\">\n-\u00a0 \u00a0 _\bO_\bP_\bT \u00a0 \u00a0 This tag will fail: <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bU_\bS_\bE name>\n-\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT If the condition is true, the block is evaluated\n-\u00a0 \u00a0 _\bQ_\bU_\bO_\bT_\bE and afterwards the WHILE tag is evaluated again. If\n-\u00a0 \u00a0 _\bS_\bE_\bT the '$'-operator is used in the WHILE tag it is\n-\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF also reevaluated on each iteration.\n-\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT A loop block m\bmu\bus\bst\bt be closed with the /WHILE tag.\n-\u00a0 \u00a0 _\bU_\bS_\bE_\b,_\b _\b$\n+\u00a0 _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bD_\bE_\bF NAME=\"HEADERIMG\" OPTION=\"SRC TITLE\n+\u00a0 _\bL_\bi_\bc_\be_\bn_\bs_\be SIZE\">\n+\u00a0 _\bT_\bu_\bt_\bo_\br_\bi_\ba_\bl \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF size>\n+\u00a0 _\bU_\bs_\ba_\bg_\be \u00a0 \u00a0 \u00a0 \u00a0 \n+\u00a0 HTP Tags \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bI_\bF>\n+\u00a0 \u00a0 _\bA_\bL_\bT_\bT_\bE_\bX_\bT \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bM_\bG SRC=pics/${src}>\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bU_\bS_\bE title>\n+\u00a0 \u00a0 _\bB_\bL_\bO_\bC_\bK_\bD_\bE_\bF \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF size>\n+\u00a0 \u00a0 _\bD_\bE_\bF \u00a0 \u00a0 \u00a0 \u00a0 \n+\u00a0 \u00a0 _\bF_\bI_\bL_\bE \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bI_\bF>\n+\u00a0 \u00a0 _\bI_\bF \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bD_\bE_\bF>\n+\u00a0 \u00a0 _\bI_\bN_\bC\n+\u00a0 \u00a0 _\bI_\bM_\bG \u00a0 \n+\u00a0 \u00a0 _\bO_\bP_\bT\n+\u00a0 \u00a0 _\bO_\bU_\bT_\bP_\bU_\bT \u00a0 \n+\u00a0 \u00a0 _\bS_\bE_\bT\n+\u00a0 \u00a0 _\bU_\bN_\bD_\bE_\bF \u00a0 This will fail:\n+\u00a0 \u00a0 _\bU_\bN_\bS_\bE_\bT \u00a0 \n \u00a0 [>] _\bW_\bH_\bI_\bL_\bE\n-\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b-\n-\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by\n-\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt\n-\u00a0 _\bB_\bu_\bg_\bs\n+\u00a0 \u00a0 _\b<_\b!_\b-_\b-_\b- \u00a0 Instead, use * like this:\n+\u00a0 _\bH_\bi_\bs_\bt_\bo_\br_\by \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bD_\bE_\bF NAME=\"MYIMG\" OPTION=\"SRC *\">\n+\u00a0 _\bW_\bi_\bs_\bh_\b _\bl_\bi_\bs_\bt \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bM_\bG SRC=\"pics/${src}\" $*>\n+\u00a0 _\bB_\bu_\bg_\bs \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bD_\bE_\bF>\n+ \u00a0 \u00a0\n+ \u00a0 \n+ *\b**\b**\b**\b**\b* s\bsy\byn\bno\bop\bps\bsi\bis\bs *\b**\b**\b**\b**\b*\n+ W\bWH\bHI\bIL\bLE\bE is the building block for repeated\n+ processing. The basic form is shown above.\n+ \"Conditional\" is either a \"compare\" or \"is defined\"\n+ operation. A compare operator is a test of the\n+ value of a macro against a literal string. If the\n+ NOT tag is present in the WHILE markup, the\n+ evaluation of the conditional is reversed:\n+ \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bu_\bn_\bs_\be_\bt email_addr home_url login_name>\n+ Just as with _\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bF you can also check for a\n+ macro's existance:\n+ \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bW_\bH_\bI_\bL_\bE sect-$i>\n+ \u00a0 \u00a0 ...\n+ \u00a0 \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\bI_\bN_\bC i>\n+ \u00a0 <_\b[_\b[_\br_\be_\bf_\b]_\b]_\b/_\bW_\bH_\bI_\bL_\bE>\n+ If the condition is true, the block is evaluated\n+ and afterwards the WHILE tag is evaluated again. If\n+ the '$'-operator is used in the WHILE tag it is\n+ also reevaluated on each iteration.\n+ A loop block m\bmu\bus\bst\bt be closed with the /WHILE tag.\n+\n+\n+\n+\n+\n+\n \n \n \n \n \n \n \n"}]}]}]}]}]}