#5795 closed defect (bug) (invalid)
<!--more--> is also filtered by htmlspecialchars
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Template | Version: | 2.3.3 |
| Severity: | major | Keywords: | |
| Cc: | ffemtcj |
Description
When one adds the <!--more--> tag into his post Wordpress transforms this tag as well with htmlspecialchars which leads to the mistake that "get_the_content()" doesnt recognize the tag anymore. By this the excerpt function isnt given anymore.
Easy adjustment can be done in "post-template.php" line 107 - 111.
Change History (3)
- Cc ffemtcj added
- Resolution set to invalid
- Status changed from new to closed
If you want to enter the more tag manually, You need to enter it in the HTML view rather than the Visual view.
comment:3
Viper007Bond — 5 years ago
- Milestone 2.6 deleted
Yes, the visual view figures you wanted to actually display a < (i.e. <) and not use it for code. It is a what-you-see-is-what-you-get editor after all. ;)
Note: See
TracTickets for help on using
tickets.

I checked into this and if you manually type <!--more--> it does do as you say. However if you click the more button it works perfectly fine.