New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aタグの中に書いたタグが消える #8

Closed
okazawa opened this Issue Dec 12, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@okazawa

okazawa commented Dec 12, 2013

Aタグの中にはIMGタグしか受け付けないようです。

【テストHTML】

<!DOCTYPE html>
<html lang="ja" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8" />
<title>Sample</title>
</head>
<body>
<section>
    <a href="dummy.html">
        <h3>あああ</h3>
        <p>いいい</p>
    </a>
</section>

<br />

<article>
    <a href="dummy.html">
        <h3>ううう</h3> <img src="dummy.jpg" />
        <p>
            <img src="dummy.jpg" />えええ
        </p>
        <p>おおお</p>
    </a>
</article>

<ul>
    <li><a href="dummy.html">
        <img src="dummy.jpg" />
        <h3>お知らせ1</h3>
        <p>サマリーが入ります。</p>
    </a></li>
    <li><a href="dummy.html">
            <div>
                <img src="dummy.jpg" />
                <h3>お知らせ1</h3>
                <p>サマリーが入ります。</p>
            </div>
    </a></li>
 </ul>

</body>
</html>

【結果】

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
<head>
<meta charset="UTF-8"/>
<title>Sample</title>
</head>
<body>
<section>
    <a href="dummy.html">


    </a>
</section>

<br/>

<article>
    <a href="dummy.html">
          <img src="dummy.jpg"/>


    </a>
</article>


<ul>
<li><a href="dummy.html">
        <img src="dummy.jpg"/>


    </a></li>
<li><a href="dummy.html">

    </a></li></ul>

</body>
</html>

@ghost ghost assigned nabedge Dec 12, 2013

nabedge added a commit that referenced this issue Dec 12, 2013

@nabedge

This comment has been minimized.

Owner

nabedge commented Dec 12, 2013

fixed on version 1.2.20
It will take a few hours to avairable on maven central repository.

1.2.20でなおっているはずです。
数時間後にはmavenのセントラルリポジトリからダウンロード可能になります。
http://mixer2.org/dist のzipの更新ものちほどやります。(っていうか最近忘れてた^^;)

@nabedge nabedge closed this Dec 12, 2013

nabedge added a commit that referenced this issue Dec 19, 2013

nabedge added a commit that referenced this issue Dec 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment