PptxGenJS icon indicating copy to clipboard operation
PptxGenJS copied to clipboard

`bullet: {type: "bullet"}` results in no bullet

Open gormster opened this issue 4 weeks ago • 0 comments

https://github.com/gitbrent/PptxGenJS/blob/3c9ec1b687c174952166f6a34b5e87ebf69fa469/src/gen-xml.ts#L890-L891

These two lines should be a single if condition. At the moment, the first condition checks if the type field is present, so if it's set, the entire rest of the if/else tree is skipped. However, it only actually does anything if it's set to "number". Setting type to "bullet" means the entire if/else tree is skipped and nothing is outputted.

gormster avatar Dec 02 '25 03:12 gormster