This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch docs/idea-plugin-card-fix
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 48c38f51fb7af27aad727170e80456f1edc2a029
Author: Lukasz Lenart <[email protected]>
AuthorDate: Wed Apr 29 08:20:44 2026 +0200

    docs: fix broken rendering of IDEA plugin Marketplace card
    
    The Kramdown parser breaks when block-level elements (div, p) are
    nested inside an inline anchor — the closing </a> ends up rendered
    as literal text. Restructure the card so the outer wrapper is a div
    and only the 'Get from Marketplace' button is an anchor.
---
 source/idea-plugin.md | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/source/idea-plugin.md b/source/idea-plugin.md
index 0d4cb4143..8a1b33b24 100644
--- a/source/idea-plugin.md
+++ b/source/idea-plugin.md
@@ -21,15 +21,14 @@ Any issues should be reported using ASF JIRA and component 
[IDEA Plugin](https:/
 
 The plugin is available on the JetBrains Marketplace:
 
-<a href="https://plugins.jetbrains.com/plugin/1698-apache-struts";
-   style="display:inline-block;text-decoration:none;color:inherit;border:1px 
solid #e0e0e0;border-radius:8px;padding:16px;width:340px;font-family:inherit;">
+<div style="display:inline-block;border:1px solid 
#e0e0e0;border-radius:8px;padding:16px;width:340px;font-family:inherit;">
   <div style="display:flex;align-items:center;gap:12px;">
     <img src="{{ site.baseurl }}/img/struts-logo.svg" alt="Apache Struts" 
width="48" height="48" style="flex-shrink:0;"/>
     <strong style="font-size:1.1em;">Apache Struts</strong>
   </div>
   <p style="margin:12px 0 0;color:#555;">Provides full integration of Apache 
Struts 2.</p>
-  <span 
style="display:inline-block;margin-top:12px;background:#000;color:#fff;padding:8px
 16px;border-radius:20px;font-weight:600;">Get from Marketplace</span>
-</a>
+  <a href="https://plugins.jetbrains.com/plugin/1698-apache-struts"; 
style="display:inline-block;margin-top:12px;background:#000;color:#fff;padding:8px
 16px;border-radius:20px;font-weight:600;text-decoration:none;">Get from 
Marketplace</a>
+</div>
 
 ## Releases
 

Reply via email to