From: Eric Wong Date: Thu, 26 Jan 2017 19:18:41 GMT Subject: Re: [PATCH] Documentation: implement linkgit macro for Asciidoctor Message-ID: <20170126191841.GA6060@dcvr.yhbt.net> In-Reply-To: > Eric Wong writes: > > You can use '\' to continue long lines with any Ruby version: > > > > "" \ > > "#{target}" \ > > "#{attrs[1]}" \ > > "" Junio C Hamano wrote: > + "\n" > + "#{target}" > + "#{attrs[1]}\n" > + "\n" > end You need the '\' at the end of those strings, it's not like C since Ruby doesn't require semi-colons to terminate lines. In other words, that should be: "\n" \ "#{target}" \ "#{attrs[1]}\n" \ "\n"