I have create a da on button click to open a confirm alert for the user. I am using javascript to open the confirm alert and the values are coming from different items and I want to display some text in bold.

This is my code to open the alert when user clicks the Open Alert button. The reason I am using javascript I have to do 2 different actions based on user selection.
var info = apex.item("P1_PROMPT_ALERT").getValue();
var title = $v('P1_ALERT_TITLE');
var summary = $v('P1_ALERT_SUMMARY');
var act = $v('P1_ALERT_ACTION');
apex.message.confirm( summary+"\n"+info+"\n" +"<strong>"+act+"</strong>", function( okPressed ) {
if( okPressed ) {
window.location.reload();
}
else{
apex.navigation.dialog.close(true);
} }
, {
title: title,
style: "warning",
cancelLabel: "Cancel",
confirmLabel: "Get Data"
} );