#26164 closed defect (bug) (fixed)
Unit Tests :: links_add_target function and trivial changes
| Reported by: | mdbitz | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.8 |
| Component: | Unit Tests | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Hi:
Attached are some Unit Tests of the formatting function links_add_target. Upon implementation of the tests I found 2 trivial changes with fixes in the included diff. Please let me know if correcting these items is desired or if I should update the test cases to sync with current functionality.
- Replacing existing target="" properties add additional space character
- tags without properties (e.g. <a>) don't get appended with target property
Thank you
Attachments (2)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Unit Tests of links_add_target