{{-- FlatIcons --}}
{{-- Common style for page builder start --}} {{-- Common style for page builder END --}} @if (get_settings('certificate_builder_content')) @php $htmlContent = get_settings('certificate_builder_content'); // Use regex to update the src attribute of the tag with the class 'certificate-template'. $newSrc = get_image(get_settings('certificate_template')); $certificate_builder_content = preg_replace('/(]*class=["\']certificate-template["\'][^>]*src=["\'])([^"\']*)(["\'])/i', '${1}' . $newSrc . '${3}', $htmlContent); @endphp {!! $certificate_builder_content !!} @else
@endif