Module:Lang: Difference between revisions

no edit summary
(synch from sandbox;)
No edit summary
Line 67:
local seg = {};
 
source = source:gsub ("%f[\']\'%f[^\']", '໿'); -- protect single quote marks from being interpreted as bold markup
 
seg[1] = source:match ('^(\'\'+%f[^\']).+') or ''; -- get leading markup, if any; ignore single quote
Anonymous user