            {{ submission.corrected_text.as_ref().unwrap() }}
                </div>
              </div>
            {% endif %}

            <!-- Parsed Structure (if parsing works) -->
            <div class="p-3 bg-yellow-50 rounded border">
              <h4 class="font-semibold mb-2">Parsed Structure:</h4>
              <div id="parsed-structure" class="text-xs overflow-x-auto p-2 bg-white border">
                {% if submission.annotated_text.is_some() %}
                  <script>
                