Project

General

Profile

Bug(バグ) #1451

壊れたopタグの後ろに改行が含まれると意図しないタグが作成される

Added by Shinichi Urabe about 9 years ago. Updated almost 4 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Target version:
Start date:
2010-07-29
Due date:
% Done:

100%

3.6 で発生するか:
Yes
3.8 で発生するか:
Unknown (未調査)

Description

現象

<op:b>てててて<op:b
<op:u>てててて<op:u
<op:s>てててて<op:s
<op:i>てててて<op:i
<op:font size="5">てててて<<op:font
<op:font size="1">てててて</oont>
<op:font color="#FF0000">ててててp:font>
てててて

 ↓ HTML タグに置換後
<span class="op_b">てててて<span class="op_b&lt;br">
<span class="op_u">てててて<span class="op_u&lt;br">

<span class="op_s">てててて<span class="op_s&lt;br">
<span class="op_i">てててて<span class="op_i&lt;br">
<span class="op_font" style="font-size:large">てててて&lt;<span class="op_font&lt;br">
<span class="op_font" style="font-size:xx-small">てててて&lt;/oont&gt;<br />
<span class="op_font" style="color:#FF0000;">ててててp:font&gt;<br />
てててて</span></span></span></span></span></span></span></span></span></span></span></span>

原因

バグが発生した原因を記入

修正内容

修正内容を記入


Related issues

Related to OpenPNE 3 - Backport(バックポート) #1452: 壊れたopタグの後ろに改行が含まれると意図しないタグが作成される Fixed(完了) 2010-07-29
Related to OpenPNE 3 - Backport(バックポート) #1538: 壊れたopタグの後ろに改行が含まれると意図しないタグが作成される Fixed(完了) 2010-07-29
Related to OpenPNE 3 - Bug(バグ) #1438: #975の修正で正規表現のマッチングが不十分である Fixed(完了) 2010-07-27
Related to OpenPNE 3 - Backport(バックポート) #1589: 壊れたopタグの後ろに改行が含まれると意図しないタグが作成される Fixed(完了) 2010-07-29

Associated revisions

Revision b6f45bcc (diff)
Added by Shinichi Urabe almost 9 years ago

ignore html tag in toHtml() replace method (fixes #1451)

Revision 1f02f5c4 (diff)
Added by Shinichi Urabe almost 9 years ago

Fixed regular expression to exclude a string containing the configuration of the tag (fixes #1451)

Revision 93167ca3 (diff)
Added by Shinichi Urabe almost 9 years ago

Fixed regular expression (fixes #1451)

Revision 3bde316b (diff)
Added by Shinichi Urabe almost 9 years ago

add unit test for opWidgetFormRichTextareaOpenPNETest::toHtml() (fixes #1451)

Revision 66ab88d6 (diff)
Added by Shinichi Urabe almost 9 years ago

Remove unnecessary Meta-character (fixes #1451)

Revision 0fa63bbc (diff)
Added by Shinichi Urabe almost 9 years ago

add unit test for f611879 (refs #1451)

Revision 25c5d608 (diff)
Added by Shinichi Urabe almost 9 years ago

(fixes #1451) add messages for opWidgetFormRichTextareaOpenPNETest unit test.

History

#1 Updated by Rimpei Ogawa almost 9 years ago

  • 3.6 で発生するか set to Yes

#2 Updated by Shinichi Urabe almost 9 years ago

  • Status changed from New(新規) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50

更新履歴 66ab88d61f69e7209fb4768b8e1ab0fc62311a8f で適用されました。

#3 Updated by Shinichi Urabe almost 9 years ago

更新履歴 3bde316b0419ce50fc7896ce5baff3dd5dfb543c で適用されました。

#4 Updated by Shinichi Urabe almost 9 years ago

更新履歴 93167ca35e6f3fe3f9505143811327fa59f52e64 で適用されました。

#5 Updated by Shinichi Urabe almost 9 years ago

更新履歴 1f02f5c401c764e01d51b53c17fecd188780e75a で適用されました。

#6 Updated by Shinichi Urabe almost 9 years ago

更新履歴 b6f45bcc04225fe6b34d47f0265277dfa3bda480 で適用されました。

#7 Updated by Shinichi Urabe almost 9 years ago

  • Assignee set to Shinichi Urabe

#8 Updated by Shogo Kawahara almost 9 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
  • % Done changed from 50 to 70

#9 Updated by Shogo Kawahara almost 9 years ago

  • Status changed from Pending Testing(テスト待ち) to Pending Review(レビュー待ち)
  • % Done changed from 70 to 50

#10 Updated by Shogo Kawahara almost 9 years ago

  • Status changed from Pending Review(レビュー待ち) to Rejected(差し戻し)
  • もし事情が無いならば、unitテストにメッセージをつけてください。

#11 Updated by Shinichi Urabe almost 9 years ago

  • Status changed from Rejected(差し戻し) to Pending Review(レビュー待ち)

更新履歴 25c5d60876be05437708cfa75e7621eda6756b5f で適用されました。

#12 Updated by Rimpei Ogawa almost 9 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
  • % Done changed from 50 to 70

#13 Updated by Yuma Sakata almost 8 years ago

  • Status changed from Pending Testing(テスト待ち) to Fixed(完了)
  • % Done changed from 70 to 100

テストOKです。

#14 Updated by kaoru n almost 4 years ago

  • 3.8 で発生するか set to Unknown (未調査)

Also available in: Atom PDF