php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #16991 wordwrap should respect html tags
Submitted: 2002-05-03 09:29 UTC Modified: 2013-10-28 07:17 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:0 (0.0%)
From: martin at humany dot com Assigned: krakjoe (profile)
Status: Closed Package: *General Issues
PHP Version: 4.2.0 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: martin at humany dot com
New email:
PHP Version: OS:

 

 [2002-05-03 09:29 UTC] martin at humany dot com
wordwrap should respect html tags and not count these as normal letters. i suggest by a extra parameter turning the behavior on/off, or a separate function, like wordwrap_html()

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-28 07:17 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: krakjoe
 [2013-10-28 07:17 UTC] krakjoe@php.net
This isn't a realistic suggestion; if you need to wordwrap without markup then striptags, and reformat.

Closing the bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 14:01:33 2024 UTC