<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>debug</title>
    <link>https://qua.name/debug/</link>
    <description>collection for testing, probably a very uninteresting read</description>
    <pubDate>Fri, 01 May 2026 17:48:23 +0200</pubDate>
    <item>
      <title>federation test</title>
      <link>https://qua.name/debug/federation-test</link>
      <description>&lt;![CDATA[federation test]]&gt;</description>
      <content:encoded><![CDATA[<p>federation test</p>
]]></content:encoded>
      <guid>https://qua.name/debug/federation-test</guid>
      <pubDate>Mon, 15 Feb 2021 09:39:26 +0100</pubDate>
    </item>
    <item>
      <title>For $\TeX$ and $\LaTeX$ fragments I use the =texfrag= package.</title>
      <link>https://qua.name/debug/for-tex-and-latex-fragments-i-use-the-texfrag-package</link>
      <description>&lt;![CDATA[For $\TeX$ and $\LaTeX$ fragments I use the =texfrag= package. This allows to insert math fragments inside documents.&#xA;&#xA;Example:&#xA;&#xA;$$e^{ix} = cos x + i sinx$$]]&gt;</description>
      <content:encoded><![CDATA[<p>For $\TeX$ and $\LaTeX$ fragments I use the =texfrag= package. This allows to insert math fragments inside documents.</p>

<p>Example:</p>

<p>$$e^{ix} = cos x + i sinx$$</p>
]]></content:encoded>
      <guid>https://qua.name/debug/for-tex-and-latex-fragments-i-use-the-texfrag-package</guid>
      <pubDate>Fri, 15 May 2020 14:35:11 +0200</pubDate>
    </item>
    <item>
      <title>Testcase: Activitypub mentions</title>
      <link>https://qua.name/debug/activitypub-mentions</link>
      <description>&lt;![CDATA[This is just a post to mention @mrb@mastodon.nl&#xA;&#xA;I&#39;m assuming it only mentions one time, and not keeps mentioning on updates.&#xA;&#xA;This edit mentions @mrb@mastodon.nl again, is this posted again?]]&gt;</description>
      <content:encoded><![CDATA[<p>This is just a post to mention <a href="https://qua.name/@/mrb@mastodon.nl" class="u-url mention" rel="nofollow">@<span>mrb@mastodon.nl</span></a></p>

<p>I&#39;m assuming it only mentions one time, and not keeps mentioning on updates.</p>

<p>This edit mentions <a href="https://qua.name/@/mrb@mastodon.nl" class="u-url mention" rel="nofollow">@<span>mrb@mastodon.nl</span></a> again, is this posted again?</p>
]]></content:encoded>
      <guid>https://qua.name/debug/activitypub-mentions</guid>
      <pubDate>Sun, 29 Mar 2020 18:22:17 +0200</pubDate>
    </item>
    <item>
      <title>Testcase: Persian text</title>
      <link>https://qua.name/debug/testcase-persian-text</link>
      <description>&lt;![CDATA[باللغة العربية “keyboard” انا أريد أن أعرف الكلمة]]&gt;</description>
      <content:encoded><![CDATA[<p>باللغة العربية “keyboard” انا أريد أن أعرف الكلمة</p>
]]></content:encoded>
      <guid>https://qua.name/debug/testcase-persian-text</guid>
      <pubDate>Mon, 17 Dec 2018 16:29:03 +0100</pubDate>
    </item>
    <item>
      <title>[OBSOLETE] Testcase: anchors and #hashtags</title>
      <link>https://qua.name/debug/test-for-hashlink</link>
      <description>&lt;![CDATA[UPDATE: [2019-02-04] Hashtag linking has been changed/improved. This page is now obsolete.&#xA;&#xA;Current logic: require either a space or beginning of line before the &#39;#&#39; begin of the tag.&#xA;&#xA;First section&#xA;Second section&#xA;&#xA;Normal #inline tags should not be affected, unless &#39;#quoted&#39; or otherwise not having space before them (like: &#39;#this &#39; but  #this&#39; will work ) &#xA;&#xA;#tags #after #eachother#even#when #silly&#xA;&#xA;#tags#after#eachother#even#when#silly&#xA;&#xA;tags is matched in the line above, because it was matched properly earlier in the document, not because it matched in the line. The next line wont match, for example&#xA;&#xA;#beginuniquetag#on#one#line&#xA;&#xA;#and#there#is#also#this#tag#in#here&#xA;&#xA;#100tagswithnumber #0JustZero #2345ou888NumberlettersNumber&#xA;This is a short testcase for anchors&#xA;&#xA;a id=&#34;firstsection&#34;/a&#xA;&#xA;First section&#xA;&#xA;First section content&#xA;&#xA;a id=&#34;secondsection&#34;/a&#xA;&#xA;Second section&#xA;&#xA;Second section content]]&gt;</description>
      <content:encoded><![CDATA[<p>UPDATE: [2019-02-04] Hashtag linking has been changed/improved. This page is now obsolete.</p>

<p>Current logic: require either a space or beginning of line before the &#39;#&#39; begin of the tag.</p>
<ul><li><a href="#firstsection" rel="nofollow">First section</a></li>
<li><a href="#secondsection" rel="nofollow">Second section</a></li></ul>

<p>Normal <a href="/debug/tag:inline" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">inline</span></a> tags should not be affected, unless &#39;<a href="/debug/tag:quoted" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">quoted</span></a>&#39; or otherwise not having space before them (like: &#39;<a href="/debug/tag:this" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">this</span></a> &#39; but  <a href="/debug/tag:this" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">this</span></a>&#39; will work )</p>

<p><a href="/debug/tag:tags" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">tags</span></a> <a href="/debug/tag:after" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">after</span></a> <a href="/debug/tag:eachother" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">eachother</span></a><a href="/debug/tag:even" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">even</span></a><a href="/debug/tag:when" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">when</span></a> <a href="/debug/tag:silly" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">silly</span></a></p>

<p><a href="/debug/tag:tags" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">tags</span></a><a href="/debug/tag:after" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">after</span></a><a href="/debug/tag:eachother" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">eachother</span></a><a href="/debug/tag:even" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">even</span></a><a href="/debug/tag:when" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">when</span></a><a href="/debug/tag:silly" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">silly</span></a></p>

<p><a href="/debug/tag:tags" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">tags</span></a> is matched in the line above, because it was matched properly earlier in the document, not because it matched in the line. The next line wont match, for example</p>

<p><a href="/debug/tag:beginuniquetag" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">beginuniquetag</span></a><a href="/debug/tag:on" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">on</span></a><a href="/debug/tag:one" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">one</span></a><a href="/debug/tag:line" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">line</span></a></p>

<p><a href="/debug/tag:and" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">and</span></a><a href="/debug/tag:there" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">there</span></a><a href="/debug/tag:is" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">is</span></a><a href="/debug/tag:also" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">also</span></a><a href="/debug/tag:this" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">this</span></a><a href="/debug/tag:tag" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">tag</span></a><a href="/debug/tag:in" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">in</span></a><a href="/debug/tag:here" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">here</span></a></p>

<p><a href="/debug/tag:100tagswithnumber" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">100tagswithnumber</span></a> <a href="/debug/tag:0JustZero" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">0JustZero</span></a> <a href="/debug/tag:2345ou888NumberlettersNumber" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">2345ou888NumberlettersNumber</span></a>
This is a short testcase for anchors</p>

<p><a id="firstsection" id="firstsection"></a></p>

<h1 id="first-section" id="first-section">First section</h1>

<p>First section content</p>

<p><a id="secondsection" id="secondsection"></a></p>

<h1 id="second-section" id="second-section">Second section</h1>

<p>Second section content</p>
]]></content:encoded>
      <guid>https://qua.name/debug/test-for-hashlink</guid>
      <pubDate>Sat, 01 Dec 2018 23:59:27 +0100</pubDate>
    </item>
    <item>
      <title>Testcase: Hash tag rendering in code</title>
      <link>https://qua.name/debug/hash-tag-rendering-in-code</link>
      <description>&lt;![CDATA[https://github.com/writeas/writefreely/issues/6&#xA;&#xA;Test for an issue where hash tags in code get rendered improperly&#xA;&#xA;;; Test for hash tag rendering&#xA;(use-package weechat&#xA;  :ensure nil &#xA;  :after tracking&#xA;  :config&#xA;  (require &#39;weechat-image)&#xA;  (setq weechat-color-list &#39;(&#xA;    unspecified &#34;#2e3440&#34; &#xA;    &#34;#4c566a&#34;&#x9;&#34;#434c5e&#34;))&#xA;       weechat-mode-default)))&#xA;&#xA;Expected behaviour: do not process hash tags in code]]&gt;</description>
      <content:encoded><![CDATA[<p><a href="https://github.com/writeas/writefreely/issues/6" rel="nofollow">https://github.com/writeas/writefreely/issues/6</a></p>

<p>Test for an issue where hash tags in code get rendered improperly</p>

<pre><code class="language-emacs-lisp">;; Test for hash tag rendering
(use-package weechat
  :ensure nil 
  :after tracking
  :config
  (require &#39;weechat-image)
  (setq weechat-color-list &#39;(
    unspecified &#34;#2e3440&#34; 
    &#34;#4c566a&#34;	&#34;#434c5e&#34;))
       weechat-mode-default)))
</code></pre>

<p>Expected behaviour: do not process hash tags in code</p>
]]></content:encoded>
      <guid>https://qua.name/debug/hash-tag-rendering-in-code</guid>
      <pubDate>Fri, 30 Nov 2018 11:36:05 +0100</pubDate>
    </item>
    <item>
      <title>Testcase: Multiple language blocks</title>
      <link>https://qua.name/debug/test</link>
      <description>&lt;![CDATA[This is a testcase to render multiple language blocks on one page.&#xA;&#xA;(use-package elfeed-org&#xA;  :after elfeed&#xA;  :init&#xA;  (setq rmh-elfeed-org-files (list (concat emacs-directory &#34;feeds.org&#34;)))&#xA;  (elfeed-org))&#xA;&#xA;First: language in the common section&#xA;&#xA;def actiondone(self, cr, uid, ids, context=None):&#xA;&#x9;logger.debug(&#39;Overridden mroorder.actiondone called.&#39;)&#xA;&#x9;for order in self.browse(cr, uid, ids, context=context):&#xA;&#x9;    self.pool.get(&#39;stock.move&#39;).actiondone(&#xA;&#x9;&#x9;cr, uid, [x.id for x in order.partsmovelines])&#xA;&#x9;    self.write(cr, uid, ids, {&#39;state&#39;: &#39;done&#39;})&#xA;&#x9;return True&#xA;&#xA;Second: language outside common setion, with custom alias (qua.name specific)&#xA;&#xA;(use-package elfeed-org&#xA;  :after elfeed&#xA;  :init&#xA;  (setq rmh-elfeed-org-files (list (concat emacs-directory &#34;feeds.org&#34;)))&#xA;  (elfeed-org))&#xA;&#xA;Third: language unsupported&#xA;&#xA;Specific test: if there is an unsupported language block, the other blocks should not be affected&#xA;&#xA;require [&#34;fileinto&#34;, &#34;envelope&#34;, &#34;subaddress&#34;];&#xA;if envelope :detail &#34;to&#34; &#34;spam&#34;{&#xA;  fileinto &#34;Spam&#34;;&#xA;}&#xA;`]]&gt;</description>
      <content:encoded><![CDATA[<p>This is a testcase to render multiple language blocks on one page.</p>

<pre><code class="language-emacs-lisp">(use-package elfeed-org
  :after elfeed
  :init
  (setq rmh-elfeed-org-files (list (concat emacs-directory &#34;feeds.org&#34;)))
  (elfeed-org))
</code></pre>

<p>First: language in the common section</p>

<pre><code class="language-python">def action_done(self, cr, uid, ids, context=None):
	logger.debug(&#39;Overridden mro_order.action_done called.&#39;)
	for order in self.browse(cr, uid, ids, context=context):
	    self.pool.get(&#39;stock.move&#39;).action_done(
		cr, uid, [x.id for x in order.parts_move_lines])
	    self.write(cr, uid, ids, {&#39;state&#39;: &#39;done&#39;})
	return True
</code></pre>

<p>Second: language outside common setion, with custom alias (qua.name specific)</p>

<pre><code class="language-lisp">(use-package elfeed-org
  :after elfeed
  :init
  (setq rmh-elfeed-org-files (list (concat emacs-directory &#34;feeds.org&#34;)))
  (elfeed-org))
</code></pre>

<p>Third: language unsupported</p>

<p>Specific test: if there is an unsupported language block, the other blocks should not be affected</p>

<pre><code class="language-sieve">require [&#34;fileinto&#34;, &#34;envelope&#34;, &#34;subaddress&#34;];
if envelope :detail &#34;to&#34; &#34;spam&#34;{
  fileinto &#34;Spam&#34;;
}
</code></pre>
]]></content:encoded>
      <guid>https://qua.name/debug/test</guid>
      <pubDate>Fri, 23 Nov 2018 12:16:47 +0100</pubDate>
    </item>
  </channel>
</rss>