Problem/Motivation
Adding the following token to the token filter:
[node:summary]
Causes the following output to be produced in the mastodon form:
<p>This is the summary of the node.</p>
Posting this to mastodon causes escaped HTML tags to be included in the status update.
Proposed resolution
Add a call to strip_tags() to remove HTML from the text before it is added to the text area. This will prevent messy updates from being pushed to mastodon.
Issue fork mastodon_api-3589385
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
stevenpatzI'll take a look at this one, sometime this week.
Comment #3
stevenpatzComment #5
philipnorton42 commentedThank you for this @stevenpatz. Sorry for the delay, I haven't been able to get to this all week.
The change looks good! Merged!
Comment #7
philipnorton42 commentedReleased in version 1.0.0-beta2.