Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
htmlspecialchars instead of htmlentities
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Pfefferle committed Dec 18, 2017
1 parent 3cc7d47 commit 81f5ea0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
**Donate link:** http://14101978.de
**Requires at least:** 4.5
**Tested up to:** 4.9.1
**Stable tag:** 2.3.0
**Stable tag:** 2.3.1
**License:** MIT
**License URI:** https://opensource.org/licenses/MIT

Expand Down
4 changes: 2 additions & 2 deletions ostatus-for-wordpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://notiz.blog/
* License: MIT
* License URI: http://opensource.org/licenses/MIT
* Version: 2.3.0
* Version: 2.3.1
* Text Domain: ostatus-for-wordpress
* Domain Path: /languages
*/
Expand Down Expand Up @@ -156,7 +156,7 @@ public static function do_feed_ostatus( $for_comments ) {

public static function the_feed_content( $output ) {
if ( is_feed( 'ostatus' ) ) {
return htmlentities( $output );
return htmlspecialchars( $output );
}

return $output;
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: ostatus, federated, mastodon, social, gnusocial, statusnet
Donate link: http://14101978.de
Requires at least: 4.5
Tested up to: 4.9.1
Stable tag: 2.3.0
Stable tag: 2.3.1
License: MIT
License URI: https://opensource.org/licenses/MIT

Expand Down

0 comments on commit 81f5ea0

Please sign in to comment.