Skip to content

Commit

Permalink
chore: move readmore class to paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed May 13, 2024
1 parent e84f5d0 commit 225edad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/default/ckeditor/config/newsletter.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ define(['jquery', 'elgg', 'elgg/hooks', 'elgg/i18n', 'elgg/lightbox', 'elgg/Ajax
content_description += data.description;
} else if (description_option === 'excerpt') {
content_description += data.excerpt;
content_description += "<p><a class='newsletter-read-more' href='" + data.url + "'>" + i18n.echo('newsletter:embed:read_more') + " ></a></p>";
content_description += "<p class='newsletter-read-more'><a href='" + data.url + "'>" + i18n.echo('newsletter:embed:read_more') + " ></a></p>";
}

content += "<table class='newsletter-item' style='width: 100%'>";
Expand Down Expand Up @@ -144,7 +144,7 @@ define(['jquery', 'elgg', 'elgg/hooks', 'elgg/i18n', 'elgg/lightbox', 'elgg/Ajax
classes: ['newsletter-item']
});
result.htmlSupport.allow.push({
name: 'a',
name: 'p',
classes: ['newsletter-read-more']
});

Expand Down

0 comments on commit 225edad

Please sign in to comment.