indieweb / indieweb/wordpress-micropub
HTML Content not Being Marked as Such on Return
- Dominant language
- PHP
- Stars
- 53
- Forks
- 12
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 7
Description
https://micropub.spec.indieweb.org/#source-content
"If the source of the post was written as HTML content, then the endpoint MUST return the content property as an object containing an html property. Otherwise, the endpoint MUST return a string value for the content property, and the client will treat the value as plain text."
We don't currently do this.
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Start by locating the endpoint code that builds the returned content property, then compare its behavior with the linked Micropub specification section; done means HTML source is returned with an html property while non-HTML content remains a string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100