Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions remote-content/remote-sources/repo-transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ function convertTabsToDocusaurus(content) {

tabs.forEach(tab => {
const defaultAttr = tab.isDefault ? ' default' : '';
result += ` <TabItem value="${tab.label.toLowerCase().replace(/[^a-z0-9]/g, '-')}" label="${tab.label}"${defaultAttr}>\n\n`;
result += `<TabItem value="${tab.label.toLowerCase().replace(/[^a-z0-9]/g, '-')}" label="${tab.label}"${defaultAttr}>\n\n`;
result += `${tab.content}\n\n`;
result += ` </TabItem>\n`;
result += `</TabItem>\n`;
});

result += `</Tabs>`;
Expand Down Expand Up @@ -283,4 +283,4 @@ export function getRepoTransform(org, name) {

// Backward compatibility exports (deprecated - use transformRepo instead)
export const transformMainRepo = transformRepo;
export const transformComponentRepo = transformRepo;
export const transformComponentRepo = transformRepo;
Loading