Re: [PATCH] Documentation: remove unnecessary backslashes

2016-01-21 Thread brian m. carlson
On Wed, Jan 20, 2016 at 03:34:30PM -0500, Jeff King wrote: > On Wed, Jan 20, 2016 at 12:28:53PM -0800, Junio C Hamano wrote: > > On the other hand, if this line must be spelled like the above to > > please asciidoctor, i.e. the first and the last must not have > > backslashes and the second must ha

Re: [PATCH] Documentation: remove unnecessary backslashes

2016-01-20 Thread Matt Kraai
Hi, On Wed, Jan 20, 2016 at 01:24:21PM -0500, Jeff King wrote: > On Wed, Jan 20, 2016 at 09:21:37AM -0800, Matt Kraai wrote: > > -'@\{\}', e.g. 'master@\{yesterday\}', 'HEAD@\{5 minutes > > ago\}':: > > +'@{}', e.g. 'master@\{yesterday\}', 'HEAD@{5 minutes ago}':: > > I see you didn't tweak the

Re: [PATCH] Documentation: remove unnecessary backslashes

2016-01-20 Thread Jeff King
On Wed, Jan 20, 2016 at 12:28:53PM -0800, Junio C Hamano wrote: > >> -'@\{\}', e.g. 'master@\{yesterday\}', 'HEAD@\{5 minutes > >> ago\}':: > >> +'@{}', e.g. 'master@\{yesterday\}', 'HEAD@{5 minutes > >> ago}':: > > > > I see you didn't tweak the middle one here, because it _does_ look like > >

Re: [PATCH] Documentation: remove unnecessary backslashes

2016-01-20 Thread Junio C Hamano
Jeff King writes: > On Wed, Jan 20, 2016 at 09:21:37AM -0800, Matt Kraai wrote: > >> From: Matthew Kraai >> >> asciidoctor does not remove backslashes used to escape curly brackets from >> the HTML output if the contents of the curly brackets are empty or contain >> at least a <, -, or space.

Re: [PATCH] Documentation: remove unnecessary backslashes

2016-01-20 Thread Jeff King
On Wed, Jan 20, 2016 at 09:21:37AM -0800, Matt Kraai wrote: > From: Matthew Kraai > > asciidoctor does not remove backslashes used to escape curly brackets from > the HTML output if the contents of the curly brackets are empty or contain > at least a <, -, or space. asciidoc does not require th

[PATCH] Documentation: remove unnecessary backslashes

2016-01-20 Thread Matt Kraai
From: Matthew Kraai asciidoctor does not remove backslashes used to escape curly brackets from the HTML output if the contents of the curly brackets are empty or contain at least a <, -, or space. asciidoc does not require the backslashes in these cases, so just remove them. Signed-off-by: Matt