[Templates] Fixed non-safe link generating.