Unit Tests :: links_add_target function and trivial changes
|Reported by:||mdbitz||Owned by:||wonderboymusic|
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