We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ae059d commit c4a74ddCopy full SHA for c4a74dd
lsr/lsr.php
@@ -173,7 +173,7 @@ function parse()
173
if($r['pubmed']) {
174
foreach(explode(",",$r['pubmed']) AS $pubmed) {
175
parent::addRDF(
176
- parent::triplify($id,"cito:citesAsAuthority","pubmed:".$pubmed)
+ parent::triplify($id,"cito:citesAsAuthority","pubmed:".trim($pubmed))
177
// parent::triplify("pubmed:".$pubmed, "rdf:type", "pubmed_vocabulary:Resource")
178
);
179
}
@@ -206,7 +206,7 @@ function parse()
206
&& $r['homepage'] !== 'dead'
207
&& $r['homepage'] !== 'unavailable') {
208
209
- parent::triplify($id,"foaf:page",$r['homepage'])
+ parent::triplify($id,"foaf:page",trim($r['homepage']))
210
211
212
if($r['license']) {
0 commit comments