xoops code/decode issue

归类: GeneralD.J. | 8/23/2004 @ 7:37 pm (阅读: 255)

The xoops module.textsanitizer.php is really fantastic script but buggy. some known items:

 function codePreConv, codeConv: the pair of functions handling




by base64_encode and base64_decode. This can be a solution but can not deal with recursive



 function &undoHtmlSpecialChars(&$text),  function &htmlSpecialChars($text):
&nbsp is converted to   in htmlSpecialChars but not converted back in undoHtmlSpecialChars, which took long time to debug quote problem for NewBB 2.

rendering 




: currently it uses “<div class=”xoopsCode”><code><pre>” in function codeConv. I prefer “<pre class=”xoopsCode”>” (deprecated tho), which you can use overflow: auto in css. See the action at http://beta.xoops.org.cn/modules/newbb 

extended code? I published a hack for xoops extended code but it needs more work to make configurable for the flash or realplayer stuff could be annoying to some guys.

发表评论