[ 
https://issues.apache.org/jira/browse/BEAM-12688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421537#comment-17421537
 ] 

Beam JIRA Bot commented on BEAM-12688:
--------------------------------------

This issue is P2 but has been unassigned without any comment for 60 days so it 
has been labeled "stale-P2". If this issue is still affecting you, we care! 
Please comment and remove the label. Otherwise, in 14 days the issue will be 
moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed 
explanation of what these priorities mean.


> Language tabs break if highlight shortcodes are not adjacent.
> -------------------------------------------------------------
>
>                 Key: BEAM-12688
>                 URL: https://issues.apache.org/jira/browse/BEAM-12688
>             Project: Beam
>          Issue Type: Bug
>          Components: website
>            Reporter: David Huntsperger
>            Priority: P2
>              Labels: stale-P2
>
> If adjacent `\{{< highlight >}}` shortcodes have an extra return between 
> them, it breaks the language switcher tabs. This appears to be happening 
> because the Markdown parser generates empty `<p>` tags for the return. This 
> doesn't happen in all circumstances. It seems to happen if the first 
> shortcode is preceded by a text element and _no_ return. The jQuery in 
> language-switch-v2.js doesn't expect the `<p>` tags, and the CSS probably 
> doesn't either.
> It _may_ be possible to fix this by removing `<p>` tags. We shouldn't touch 
> the Hugo markdown parser or builtin shortcodes.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to