..:: AsmBB ::..: Bug in render thread: showthread.asm
<img src="https://board.asm32.info/images/title.svg" alt="Title img">
<h1>AsmBB is ultrafast web forum, written entirely in assembly language. This site is the official support development forum and demo/test installation.</h1>
tag:board.asm32.info,2018-03-06:Thread3782022-07-24T14:35:06Zganuonglachanh on Bug in render thread: showthread.asmtag:board.asm32.info,2018-03-06:Post162822022-07-24T14:35:06Z
<p>Hi johnfound
</p>
<p>There's a bug in render the page in showthread.asm with post_view.tpl:
</p>
<p>The final render result will overwrite 1 byte (?) in post_view.tpl
</p>
<p>To check, if you edit the post_view.tpl and has the last content is </div> (no space or \r \n at the end) then in the render will result "</div" (missing last char is ">" )
</p>
<p>I think the bug is in RenderTemplate but not carefull checked, currently fix is add some spaces at the end of post_view.tpl (and may be every tpl file)</p>
ganuonglachanh