[TASK] SourceInformation replaced by PlantumlUtils
a more complete implementation
This commit is contained in:
@@ -42,7 +42,7 @@ import net.sourceforge.plantuml.SourceStringReader;
|
||||
import net.sourceforge.plantuml.StringUtils;
|
||||
import net.sourceforge.plantuml.code.Transcoder;
|
||||
import net.sourceforge.plantuml.code.TranscoderUtil;
|
||||
import net.sourceforge.plantuml.servlet.utility.SourceInformation;
|
||||
import net.sourceforge.plantuml.api.PlantumlUtils;
|
||||
import HTTPClient.CookieModule;
|
||||
import HTTPClient.HTTPConnection;
|
||||
import HTTPClient.HTTPResponse;
|
||||
@@ -144,7 +144,7 @@ public class PlantUmlServlet extends HttpServlet {
|
||||
request.setAttribute("net.sourceforge.plantuml.servlet.encoded", encoded);
|
||||
|
||||
// check if an image map is necessary
|
||||
if (text != null && SourceInformation.containsLink(text)) {
|
||||
if (text != null && PlantumlUtils.hasCMapData(text)) {
|
||||
request.setAttribute("net.sourceforge.plantuml.servlet.mapneeded", Boolean.TRUE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user