Skip to content

Commit

Permalink
Fix linting error.
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne committed Dec 7, 2023
1 parent 2ff9541 commit 5ff0240
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function filter_events( array $events ): array {
*/
function get_section_title( $heading_text ) {
$block_markup = '<!-- wp:heading {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-1"}}},"typography":{"fontStyle":"normal","fontWeight":"700"},"spacing":{"margin":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|20"}}},"textColor":"charcoal-1","fontSize":"medium","fontFamily":"inter"} -->';
$block_markup .= sprintf (
$block_markup .= sprintf(
'<h2 class="wp-block-heading has-charcoal-1-color has-text-color has-link-color has-inter-font-family has-medium-font-size" style="margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--20);font-style:normal;font-weight:700">%s</h2>',
esc_html( $heading_text )
);
Expand Down

0 comments on commit 5ff0240

Please sign in to comment.