Extend XXE lesson with more content and add solution description

Remove obsolete images
Add stylesheet items specific for asciidoctor so we can for icons and source numbering
This commit is contained in:
Nanne Baars
2020-05-17 13:14:51 +02:00
committed by Nanne Baars
parent c4a046bd12
commit 9b72610510
73 changed files with 3209 additions and 534 deletions

View File

@ -115,6 +115,7 @@ public class AsciiDoctorTemplateResolver extends FileTemplateResolver {
Map<String, Object> attributes = new HashMap<>();
attributes.put("source-highlighter", "coderay");
attributes.put("backend", "xhtml");
attributes.put("icons", org.asciidoctor.Attributes.FONT_ICONS);
Map<String, Object> options = new HashMap<>();
options.put("attributes", attributes);

View File

@ -3,7 +3,6 @@ package org.owasp.webgoat.asciidoc;
import org.asciidoctor.ast.AbstractBlock;
import org.asciidoctor.extension.InlineMacroProcessor;
import org.springframework.core.env.Environment;
import org.springframework.util.StringUtils;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;