Avoid adding a loose ] onto the weblink inserted on Log - Janky script