Files changed (1) hide show
  1. app.py +3 -11
app.py CHANGED
@@ -255,18 +255,10 @@ def create_detailed_pptx(slides_data, theme):
255
  for point in content_part:
256
  p = tf.add_paragraph()
257
  point_text = point.replace('- ', '').strip()
258
- # Split point if it's too long
259
- if len(point_text) > 80:
260
- parts = [point_text[i:i+80] for i in range(0, len(point_text), 80)]
261
- p.text = parts[0]
262
- for part in parts[1:]:
263
- new_p = tf.add_paragraph()
264
- new_p.text = part
265
- new_p.level = 1 # Indent wrapped lines
266
- else:
267
- p.text = point_text
268
 
269
- p.level = 0
270
  p.font.color.rgb = theme["text_color"]
271
  p.font.size = Pt(18)
272
  if "text_font" in theme:
 
255
  for point in content_part:
256
  p = tf.add_paragraph()
257
  point_text = point.replace('- ', '').strip()
258
+ # Set main bullet text and formatting
259
+ p.text = point_text
260
+ p.level = 0 # Primary bullet only
 
 
 
 
 
 
 
261
 
 
262
  p.font.color.rgb = theme["text_color"]
263
  p.font.size = Pt(18)
264
  if "text_font" in theme: