mirror of
				https://github.com/kovetskiy/mark.git
				synced 2025-11-04 14:27:36 +08:00 
			
		
		
		
	Since we now have a custom parser for <ac:*/> tags, the custom link renderer added an additional </a> tag at the end of each internal Confluence link. Add tests for internal links and add an example for internal links with spaces in page titles to the README file.
		
			
				
	
	
		
			16 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<p>Use <a href="https://example.com">https://example.com</a></p>
 | 
						|
<p>Use <ac:rich-text-body>aaa</ac:rich-text-body></p>
 | 
						|
<p>Use <ac:link><ri:page ri:content-title="Page"/><ac:plain-text-link-body><![CDATA[page link]]></ac:plain-text-link-body></ac:link></p>
 | 
						|
<p>Use <ac:link><ri:page ri:content-title="AnotherPage"/><ac:plain-text-link-body><![CDATA[AnotherPage]]></ac:plain-text-link-body></ac:link></p>
 | 
						|
<p>Use <ac:link><ri:page ri:content-title="Another Page"/><ac:plain-text-link-body><![CDATA[Another Page]]></ac:plain-text-link-body></ac:link></p>
 | 
						|
<p>Use <ac:link><ri:page ri:content-title="Page With Space"/><ac:plain-text-link-body><![CDATA[page link with spaces]]></ac:plain-text-link-body></ac:link></p>
 | 
						|
<p>Use footnotes link <sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
 | 
						|
<div class="footnotes" role="doc-endnotes">
 | 
						|
<hr />
 | 
						|
<ol>
 | 
						|
<li id="fn:1">
 | 
						|
<p>a footnote link <a href="#fnref:1" class="footnote-backref" role="doc-backlink">↩︎</a></p>
 | 
						|
</li>
 | 
						|
</ol>
 | 
						|
</div>
 |