1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Partial Fix Label font display problem(標簽字型顯示的問題)

Discussion in 'Resolved Bug Reports' started by yoching, Mar 22, 2011.

  1. yoching

    yoching Member

    When a member from the articles posted elsewhere

    Often occurs as the second article

    Of course this is only posted a Chinese Web page and only occurs when there is a Chinese font set.

    我是有找到相關的問題在 \library\XenForo\BbCode\Formatter\Base.php 這個檔案上。
    Related issues in the \library\XenForo\BbCode\Formatter\Base.php I have found on this file.

    I will be the FONT is from the original
    'optionRegex' => '/^[a-z0-9 \-]+$/i',

    'optionRegex' => '/[\x{4E00}-\x{9FBF}]|[a-zA-Z0-9\s]/u',

    This does, of course you can use. But I'm not sure if this is what error

    This reference also can according to your professional point of view that are there are also what kind of problems
  2. yoching

    yoching Member

    [FONT=新細明體]這是一個新細明體的字ABCDEF[/FONT] <= BUG
  3. Mike

    Mike XenForo Developer Staff Member

    I have made a change for this issue, and I'll likely make a further change in a future version when I can do proper testing on it (on a wide range of servers).

    Right now, the HTML -> BB code processor will now ignore font tags that won't be processed by the BB code parser. I'm hesitant to negate the regex (blacklist rather than whitelist) due to potential security issues.
  4. ubuntu64

    ubuntu64 New Member


Share This Page