Re: Markup expression to remove markup.

Gregor Klarič <[email protected]> Mon, 30 Mar 2026 07:44:05 +0200
Newsgroups gmane.comp.web.wiki.pmwiki.user
Message-ID <CA+whS2J3zO99M=HBLFLYn4vUb7Xdw+-eWSJv0_2w8jVFQ8P+5w@mail.gmail.com>
--===============2000902871047741852==
Content-Type: multipart/alternative; boundary="0000000000005e77b3064e3757dc"

--0000000000005e77b3064e3757dc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

I think you can achieve this with Replace on save patterns.

https://www.pmwiki.org/wiki/Cookbook/ROSPatterns

Kind Regards,
Gregor

Am So., 29. M=C3=A4rz 2026 um 22:24 Uhr schrieb Simon <[email protected]>:

> Is there a markup expression to remove some simple markup?
> E.g. I'd like to remove, say,  links, and text emphasis?
>
> If not, I'll write one.
>
> My use case is to use the summary page text variable (with some
> simple markup) in the title.
>
> thanks
>
> Simon
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>

--0000000000005e77b3064e3757dc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<br><br>I think you can achieve this with Replace on=
 save patterns.<br><br><a href=3D"https://www.pmwiki.org/wiki/Cookbook/ROSP=
atterns">https://www.pmwiki.org/wiki/Cookbook/ROSPatterns</a><br><br>Kind R=
egards,<br>Gregor</div><br><div class=3D"gmail_quote gmail_quote_container"=
><div dir=3D"ltr" class=3D"gmail_attr">Am So., 29. M=C3=A4rz 2026 um 22:24=
=C2=A0Uhr schrieb Simon &lt;<a href=3D"mailto:[email protected]">nzskiwi@gm=
ail.com</a>&gt;:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><div dir=3D"ltr">Is there a markup expression to remove some simple markup=
?<br>E.g. I&#39;d like to remove, say,=C2=A0 links, and text emphasis?<br><=
br>If not, I&#39;ll write one.<br><br>My use case is to use the summary pag=
e text variable (with some simple=C2=A0markup) in the title.<br><br>thanks<=
div><br></div><div>Simon</div></div>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">pmwiki-users=
@pmichaud.com</a><br>
<a href=3D"http://www.pmichaud.com/mailman/listinfo/pmwiki-users" rel=3D"no=
referrer" target=3D"_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki=
-users</a><br>
</blockquote></div>

--0000000000005e77b3064e3757dc--


--===============2000902871047741852==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

--===============2000902871047741852==--