Milhaud commited on
Commit
df5263a
·
1 Parent(s): cb78f99

refactor: update docstring for create_svg_viewer_html function to improve clarity

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -236,7 +236,7 @@ def create_error_html(message: str) -> str:
236
 
237
 
238
  def create_svg_viewer_html(svg_content: str) -> str:
239
- """Decomposed SVG 인터랙티브(외곽선 하이라이트/툴팁) 미리보기로 iframe에서 렌더링"""
240
  svg = (svg_content or "").strip()
241
  if not (svg.startswith("<svg") and svg.endswith("</svg>")):
242
  return create_error_html("Invalid SVG format")
 
236
 
237
 
238
  def create_svg_viewer_html(svg_content: str) -> str:
239
+ """DECOMPOSED SVG Rendering in IFRAME with preview"""
240
  svg = (svg_content or "").strip()
241
  if not (svg.startswith("<svg") and svg.endswith("</svg>")):
242
  return create_error_html("Invalid SVG format")