-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question for wrap_in() #340
Comments
Hello @HolgerAusB, I've put an allow-list in order to respect HTML semantic usage: |
@Kdecherf Understood. We can't set attributes for the wrap, can we? Like class, id, style... ok, last one would be nasty, I know. |
@Kdecherf another idea would be to have a new Examplesource: <div class="foobar bold column stress">
<p>
Lorem ipsum dolor sit amet, consectetur adipisici elit...
</p>
</div> site-config:
results in: <div class="foobar bold column stress">
<p>
<em>
<strong>
Lorem ipsum dolor sit amet, consectetur adipisici elit...
</strong>
</em>
</p>
</div> |
Question to wrap_in(), from here: #262
I love it! @Kdecherf is there a reason, why wrapping is only allowed with
blockquote
,p
anddiv
? Or did I just read the code wrong? Could also be helpful for any other tag-pair likeb
,strong
,em
,h2
and evenfoobar
. So if this is done before most other things, I could strip or string_replace 'foobar'. Which currently is sometimes difficult because of auto-stripping span-tags in wallabag.@fivefilters could we please have this COOOOL feature for FTR and P2K, too?
I used it here:
The text was updated successfully, but these errors were encountered: