Commit 7ed4f57c authored by Joerg-Holger Panzer's avatar Joerg-Holger Panzer
Browse files

Exclude href image reference for externalContent

parent 8d8663c8
Pipeline #300534 passed with stages
in 8 minutes and 30 seconds
......@@ -223,7 +223,9 @@ func getPhysStructure(physMeta types.PhysicalAttributes,
esPhys.PageKey = esPhys.ID
esPhys.Page = fileAttr.Page
esPhys.Phys = physMeta.ID
esPhys.PageHRef = fileAttr.Href
if isExternal {
esPhys.PageHRef = fileAttr.Href
}
if ccontext != "olahds" {
infojsonkey := fmt.Sprintf(config.ExportKeyPatternInfoJson, workID, fileAttr.Page)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment