Style attribute 'page-break-after' is not supported
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.4k
- Forks
- 361
- Avg merge
- 3d 41m
- Merged PRs (30d)
- 2
Description
Getting this message when trying to use page-break css atributes.
Style attribute 'page-break-after' is not supported (for information on implementing this, see the support forums)
Using this package which seems to be a wrapper around htmlpurifier.
using
'HTML.Allowed' => 'div[style] ....',
'CSS.AllowedProperties' => 'page-break-after,page-break-before,....',
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how CSS.AllowedProperties handles page-break-after and related page-break properties, then consult the support forums referenced in the message for the intended behavior. Done means the configured style is accepted without the unsupported-property warning and is preserved appropriately in sanitized output; no specific source file or test is named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100