Module:gloss grid: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 7: Line 7:
local table_style = "padding: 1em 0 1em 0" -- top right bottom left
local table_style = "padding: 1em 0 1em 0" -- top right bottom left
local cell_style = "padding: 0 1em 0.2em 0"
local cell_style = "padding: 0 1em 0.2em 0"
local punctuation_regex = '[%.%,%(%)%—%!%?%"%:%;%*%/%&%_“”‘’%s]' -- specified because the %p pattern would include the apostrophe, which is still needed in links  
local punctuation_regex = '[%.%,%(%)%—%!%?%"%:%;%*%/%&%_“”„‘’%s]' -- specified because the %p pattern would include the apostrophe, which is still needed in links  


function build_grid(data)
function build_grid(data)