hswg: bump libasciidoc to a dev version
We want: - curved quotation marks - image alignment/float setting
This commit is contained in:
		@@ -88,7 +88,7 @@ func Render(doc io.Reader, config configuration.Configuration) (
 | 
			
		||||
	// io.Copy(os.Stdout, pr)
 | 
			
		||||
	// return
 | 
			
		||||
 | 
			
		||||
	meta, err = libasciidoc.ConvertToHTML(pr, html, config)
 | 
			
		||||
	meta, err = libasciidoc.Convert(pr, html, config)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		// Fallback: output all the text sanitized for direct inclusion.
 | 
			
		||||
		html.Reset()
 | 
			
		||||
@@ -143,7 +143,9 @@ func expand(m *map[string]*entry, name string, chunk []byte) []byte {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func singleFile() {
 | 
			
		||||
	html, meta, err := Render(os.Stdin, configuration.NewConfiguration())
 | 
			
		||||
	html, meta, err := Render(os.Stdin, configuration.NewConfiguration(
 | 
			
		||||
		configuration.WithBackEnd("xhtml5"),
 | 
			
		||||
	))
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		log.Println(err)
 | 
			
		||||
	} else if meta.Title != "" {
 | 
			
		||||
@@ -200,6 +202,7 @@ func main() {
 | 
			
		||||
 | 
			
		||||
		var html *bytes.Buffer
 | 
			
		||||
		if html, e.metadata, err = Render(f, configuration.NewConfiguration(
 | 
			
		||||
			configuration.WithBackEnd("xhtml5"),
 | 
			
		||||
			configuration.WithFilename(e.path),
 | 
			
		||||
			configuration.WithLastUpdated(e.mtime),
 | 
			
		||||
		)); err != nil {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user