Project

General

Profile

Bug(バグ) #1375

auto_link_text_for_mobile() don't link URL that include number correctly ( 番号を含んだURLがauto_link_text_for_mobile() で正しくリンクされない)

Added by Shogo Kawahara almost 9 years ago. Updated over 1 year ago.

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

100%

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

Description

Overview (概要)

auto_link_text_for_mobile() don't link URL that include number correctly.
This issue occurs when option's "default_mobile_auto_link_type" include 'phone_numbers'.

( 番号を含んだURLがauto_link_text_for_mobile() で正しくリンクされない)

For example)

http://example.com/0660123456

Environment

  • OpenPNE 3.6beta1 only

Causes (原因)

関数の適用順が正しくない。

The order of application of the function is not correct.

Way to fix (修正内容)

関数の適用順を変更

I changed the order of application of the function.


Related issues

Related to OpenPNE 3 - Backport(バックポート) #1408: auto_link_text_for_mobile() don't link URL that include number correctly ( 番号を含んだURLがauto_link_text_for_mobile() で正しくリンクされない) Fixed(完了) 2010-07-20

Associated revisions

Revision 7159886d (diff)
Added by Shogo Kawahara almost 9 years ago

changed the order to apply function of autolink in op_auto_link_text_for_mobile() (fixes #1375)

Revision 8fe73142 (diff)
Added by Shogo Kawahara almost 9 years ago

fixed _op_auto_links_phone_number() to removed unnecessary regular expression (fixes #1375)

History

#1 Updated by Shogo Kawahara almost 9 years ago

  • Assignee set to Shogo Kawahara
  • Target version set to OpenPNE 3.7.0

#2 Updated by Shogo Kawahara almost 9 years ago

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

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

#3 Updated by Shogo Kawahara almost 9 years ago

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

#4 Updated by Rimpei Ogawa almost 9 years ago

  • 3.6 で発生するか set to Yes

#5 Updated by Kousuke Ebihara almost 9 years ago

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

#6 Updated by Mutsumi Imamura over 7 years ago

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

テストOKです。

Also available in: Atom PDF