mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
Fixing up JSON text output
This commit is contained in:
@ -26,7 +26,7 @@ let annotations_json_page pdf page pagenum =
|
||||
| Some (Pdf.Array annots) ->
|
||||
map
|
||||
(fun annot ->
|
||||
`List [`Int pagenum; Cpdfjson.json_of_object pdf (fun _ -> ()) false false annot])
|
||||
`List [`Int pagenum; Cpdfjson.json_of_object ~clean_strings:true pdf (fun _ -> ()) false false annot])
|
||||
(map (Pdf.direct pdf) annots)
|
||||
| _ -> []
|
||||
|
||||
|
Reference in New Issue
Block a user