emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix regex for determining image width from attribute


From: Matt Huszagh
Subject: Re: [PATCH] Fix regex for determining image width from attribute
Date: Tue, 23 Nov 2021 17:57:43 -0800

Max Nikulin <manikulin@gmail.com> writes:

> I may be wrong, but it seems both the old and the new regexps match
>
>      #+attr_html : :width 50%
>
> that is not a keyword due to a space before ":". The dot in the regexp 
> is too permissive.

I agree.

> Despite ".*" includes ": " before ":width", I would prefer explicit 
> space before ":width".

Currently we have a space before .*. Would you prefer it after? Anyway,
I've also implemented this change. Let me know what you think.

Matt

Attachment: attr_org.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]