66 < title > Pull Requests</ title >
77 < link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css " rel ="stylesheet ">
88 < script src ="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js "> </ script >
9+ < script src ="https://cdn.jsdelivr.net/npm/marked/marked.min.js "> </ script >
10+ < link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.1.0/github-markdown.min.css ">
911</ head >
1012< body class ="bg-light ">
1113 < div class ="container py-4 ">
@@ -27,7 +29,7 @@ <h4 id="detail-title" class="card-title"></h4>
2729 < p > < a id ="detail-giturl " href ="# " class ="link-underline-dark "> </ a > </ p >
2830
2931 < h5 class ="mt-4 "> Review:</ h5 >
30- < div id ="detail-review " class ="border p-3 bg-white " style ="min-height: 150px; "> </ div >
32+ < div id ="detail-review " class ="border p-3 bg-white markdown-body " style ="min-height: 150px; "> </ div >
3133
3234 < div class ="mt-4 ">
3335 < h6 > Rate the Review:</ h6 >
@@ -92,7 +94,10 @@ <h6>Action:</h6>
9294
9395 document . getElementById ( 'detail-title' ) . textContent = details . title ;
9496 document . getElementById ( 'detail-meta' ) . textContent = `#${ details . id } opened on ${ details . date || 'Unknown' } by ${ details . author || 'Unknown' } ` ;
95- document . getElementById ( 'detail-giturl' ) . textContent = details . prurl ;
97+ //document.getElementById('detail-giturl').textContent = details.prurl;
98+ const gitUrlElement = document . getElementById ( 'detail-giturl' ) ;
99+ gitUrlElement . href = details . prurl ;
100+ gitUrlElement . textContent = `#${ details . repo } PR#${ details . id } on Github`
96101 document . getElementById ( 'detail-review' ) . textContent = details . review ;
97102
98103 document . getElementById ( 'pr-list' ) . classList . add ( 'd-none' ) ;
0 commit comments