• Resolved knutola

    (@knutola)


    Suddenly our pages didn’t show the ruby as it should. Seems like the new update break code like ruby. (furigana on top of kanji)

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    See Editing form template

    What content do you have in the Form tab panel?

    Thread Starter knutola

    (@knutola)

    Thanks for the quick reply! See the code below for the content from the Form tab panel.

    (When I remove the <ruby/rt/rb tags it shows you should except with the text and the input form in the following line like this page: https://nihongo.connectenglish.jp/grammar-check-and-pre-application/ )

    <h3>Your name</h3>
    

    <label>First Name / <ruby><rb>下</rb><rp>(</rp><rt>した</rt><rp>)</rp></ruby>の<ruby><rb>名前</rb><rp>(</rp><rt>なまえ</rt><rp>)</rp></ruby>: [text* your-name] </label>

    <label>Family Name / <ruby><rb>名字</rb><rp>(</rp><rt>みょうじ</rt><rp>)</rp></ruby>: [text* text-301] </label> <label>Email address / メールアドレス: [email* your-email] </label> <small>(results will be sent here) / (<ruby><rb>結果</rb><rp>(</rp><rt>けっか</rt><rp>)</rp></ruby>はこちらでお<ruby><rb>送</rb><rp>(</rp><rt>く</rt><rp>)</rp></ruby>りします)</small> <label>Phone number / <ruby><rb>電話番号</rb><rp>(</rp><rt>でんわばんごう</rt><rp>)</rp></ruby>: [text text-463]</label>
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thanks for the detailed information. There are two things needed to resolve your issue.

    1. You use <rb> tags in the form template. <rb> is a deprecated element and unnecessary to use. Try removing them.
    2. I found a bug in Contact Form 7 5.7.1 failing to format <rp> and <rt> correctly. It will be fixed in the next release. If you are in a hurry, try replacing the html-formatter.php content following the pull request.
    Thread Starter knutola

    (@knutola)

    Thank you!

    1: Yes, I am aware of the deprecated <rb> element, but sent you the code as it was. I planned and will remove them.

    2: Will try.

    • This reply was modified 2 years, 2 months ago by knutola.
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    I seemed to post the wrong link to PR. Correct link => https://github.com/takayukister/contact-form-7/pull/1114/files

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Update breaking standard html tags’ is closed to new replies.